Philipp Hörist pushed to branch master at gajim / gajim
Commits:
7d953d61 by lovetox at 2020-05-21T22:39:13+02:00
Fix codespell errors
- - - - -
2 changed files:
- gajim/common/logger.py
- gajim/roster_window.py
Changes:
=====================================
gajim/common/logger.py
=====================================
@@ -1113,7 +1113,7 @@ class Logger:
roster is the new version.
"""
# First we must reset roster_version value to ensure that the server
- # sends back all the roster at the next connexion if the replacement
+ # sends back all the roster at the next connection if the replacement
# didn't work properly.
app.config.set_per('accounts', account_name, 'roster_version', '')
=====================================
gajim/roster_window.py
=====================================
@@ -5356,7 +5356,7 @@ class RosterWindow:
self.starting_filtering = False
# Number of renderers plugins added
self.nb_ext_renderers = 0
- # When we quit, rememver if we already saved config once
+ # When we quit, remember if we already saved config once
self.save_done = False
# [icon, name, type, jid, account, editable, mood_pixbuf,
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7d953d6102149da733ac8e0c48e73c02…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7d953d6102149da733ac8e0c48e73c02…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
00322c0c by lovetox at 2020-05-21T13:04:09+02:00
Fix codespell errors
- - - - -
1 changed file:
- gajim/common/client.py
Changes:
=====================================
gajim/common/client.py
=====================================
@@ -532,10 +532,10 @@ class Client(ConnectionHandlers):
def cleanup(self):
self._destroyed = True
if self._client is not None:
- # cleanup() is called befor nbmxpp.Client has disconnected,
+ # cleanup() is called before nbmxpp.Client has disconnected,
# when we disable the account. So we need to unregister
# handlers here.
- # TODO: cleanup() should not be called befor disconnect is finished
+ # TODO: cleanup() should not be called before disconnect is finished
for handler in modules.get_handlers(self):
self._client.unregister_handler(handler)
modules.unregister_modules(self)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/00322c0c29bbfd50121ac38ac3e4f2fa…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/00322c0c29bbfd50121ac38ac3e4f2fa…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
0bfc1edd by lovetox at 2020-05-21T12:37:08+02:00
Client: Unregister handlers on cleanup()
Fixes #10083
- - - - -
1 changed file:
- gajim/common/client.py
Changes:
=====================================
gajim/common/client.py
=====================================
@@ -283,6 +283,7 @@ class Client(ConnectionHandlers):
if self._destroy_client:
self._client.destroy()
+ self._client = None
self._destroy_client = False
self._create_client()
@@ -519,6 +520,7 @@ class Client(ConnectionHandlers):
if self._destroy_client:
self._client.destroy()
+ self._client = None
self._destroy_client = False
self._create_client()
@@ -529,6 +531,13 @@ class Client(ConnectionHandlers):
def cleanup(self):
self._destroyed = True
+ if self._client is not None:
+ # cleanup() is called befor nbmxpp.Client has disconnected,
+ # when we disable the account. So we need to unregister
+ # handlers here.
+ # TODO: cleanup() should not be called befor disconnect is finished
+ for handler in modules.get_handlers(self):
+ self._client.unregister_handler(handler)
modules.unregister_modules(self)
def quit(self, kill_core):
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0bfc1eddc20e06c208707b548ffdf2c5…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0bfc1eddc20e06c208707b548ffdf2c5…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch gajim_1.2 at gajim / gajim
Commits:
c2c0828e by lovetox at 2020-05-21T00:00:28+02:00
Fix config migration
- - - - -
1 changed file:
- gajim/common/optparser.py
Changes:
=====================================
gajim/common/optparser.py
=====================================
@@ -147,7 +147,7 @@ class OptionsParser:
self.update_config_to_1194()
if old < V('1.1.95'):
self.update_config_to_1195()
- if old < [1, 1, 99, 1] and new >= [1, 1, 99, 1]:
+ if old < V('1.1.99.1'):
self.update_config_to_11991()
app.config.set('version', new_version)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c2c0828e55a2e48201e9032fcdd9c397…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c2c0828e55a2e48201e9032fcdd9c397…
You're receiving this email because of your account on dev.gajim.org.