Philipp Hörist pushed to branch master at gajim / gajim
Commits:
8b9da8f9 by lovetox at 2020-03-11T22:22:07+01:00
RemoveAccount: Fix removing disabled accounts
- - - - -
2 changed files:
- gajim/gtk/remove_account.py
- gajim/gui_interface.py
Changes:
=====================================
gajim/gtk/remove_account.py
=====================================
@@ -149,7 +149,7 @@ class RemoveChoice(Page):
label.set_halign(Gtk.Align.CENTER)
label.set_justify(Gtk.Justification.CENTER)
- service = app.connections[account].get_own_jid().getDomain()
+ service = app.config.get_per('accounts', account, 'hostname')
check_label = Gtk.Label()
check_label.set_markup(
_('Do you want to unregister your account on <b>%s</b> as '
=====================================
gajim/gui_interface.py
=====================================
@@ -1767,7 +1767,8 @@ class Interface:
app.connections[account].disconnect(gracefully=True,
reconnect=False)
- self.disable_account(account)
+ if app.config.get_per('accounts', account, 'active'):
+ self.disable_account(account)
app.logger.remove_roster(app.get_jid_from_account(account))
# Delete password must be before del_per() because it calls set_per()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/8b9da8f9ab69142848bf866254b7221d…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/8b9da8f9ab69142848bf866254b7221d…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
4a6ebefa by lovetox at 2020-03-11T19:07:03+01:00
Remove unused import
- - - - -
1 changed file:
- gajim/gtk/server_info.py
Changes:
=====================================
gajim/gtk/server_info.py
=====================================
@@ -17,7 +17,6 @@ from collections import namedtuple
from datetime import timedelta
import nbxmpp
-from nbxmpp.const import ConnectionType
from nbxmpp.util import is_error_result
from gi.repository import Gtk
from gi.repository import Gdk
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/4a6ebefafe0d7ee76fc864501002d538…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/4a6ebefafe0d7ee76fc864501002d538…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
d64c9416 by André Apitzsch at 2020-03-10T23:54:58+01:00
Replace deprecated test command
Setuptools 41.5.0 deprecated the command.
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -8,7 +8,7 @@ stages:
run-test:
stage: test
script:
- - python3 setup.py test
+ - python3 -m unittest discover -v
run-build:
stage: build
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d64c941613c5a61301d61bbe…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d64c941613c5a61301d61bbe…
You're receiving this email because of your account on dev.gajim.org.