Philipp Hörist pushed to branch master at gajim / gajim
Commits:
e195994b by lovetox at 2020-06-27T20:05:03+02:00
Interface: Use rsplit for extracting the port
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
=====================================
gajim/gui_interface.py
=====================================
@@ -1533,7 +1533,7 @@ class Interface:
config['use_custom_host'] = use_custom_host
if custom_host:
host, _protocol, type_ = custom_host
- host, port = host.split(':')
+ host, port = host.rsplit(':', maxsplit=1)
config['custom_port'] = int(port)
config['custom_host'] = host
config['custom_type'] = type_.value
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e195994b75feed11231d147ef66c648d…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e195994b75feed11231d147ef66c648d…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a84f784b by lovetox at 2020-06-26T19:44:29+02:00
Client: Register screensaver handler on all platforms
This is no problem because the signal is not emited if the platform
does not support it
Fixes #10152
- - - - -
1 changed file:
- gajim/common/client.py
Changes:
=====================================
gajim/common/client.py
=====================================
@@ -93,9 +93,8 @@ class Client(ConnectionHandlers):
self._idle_handler_id = Monitor.connect('state-changed',
self._idle_state_changed)
- if sys.platform not in ('win32', 'darwin'):
- self._screensaver_handler_id = app.app.connect(
- 'notify::screensaver-active', self._screensaver_state_changed)
+ self._screensaver_handler_id = app.app.connect(
+ 'notify::screensaver-active', self._screensaver_state_changed)
ConnectionHandlers.__init__(self)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a84f784bf9af479fae27161603b7ef2c…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a84f784bf9af479fae27161603b7ef2c…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
2df09bc2 by lovetox at 2020-06-25T18:01:21+02:00
GroupchatRoster: Sort by status in correct order
- - - - -
1 changed file:
- gajim/gtk/groupchat_roster.py
Changes:
=====================================
gajim/gtk/groupchat_roster.py
=====================================
@@ -345,7 +345,7 @@ class GroupchatRoster(Gtk.ScrolledWindow, EventHelper):
self.room_jid,
nick2)
if gc_contact1.show != gc_contact2.show:
- return -1 if gc_contact1.show < gc_contact2.show else 1
+ return -1 if gc_contact1.show > gc_contact2.show else 1
return locale.strcoll(nick1.lower(), nick2.lower())
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2df09bc2e6840c1573701bc5ebbd4fa5…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/2df09bc2e6840c1573701bc5ebbd4fa5…
You're receiving this email because of your account on dev.gajim.org.