Philipp Hörist pushed to branch master at gajim / gajim
Commits: 8f2bc1e1 by Philipp Hörist at 2018-03-15T18:37:34+01:00 Handle connection lost notification click
Fixes #8823
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
===================================== gajim/gui_interface.py ===================================== --- a/gajim/gui_interface.py +++ b/gajim/gui_interface.py @@ -227,7 +227,7 @@ class Interface: path = gtkgui_helpers.get_icon_path('gajim-connection_lost', 48) account = obj.conn.name notify.popup(_('Connection Failed'), account, account, - '', path, obj.title, obj.msg) + 'connection-lost', path, obj.title, obj.msg)
@staticmethod def unblock_signed_in_notifications(account): @@ -1685,6 +1685,10 @@ class Interface: resource = app.get_resource_from_jid(fjid) jid = app.get_jid_without_resource(fjid)
+ if type_ == 'connection-lost': + app.interface.roster.window.present() + return + if type_ in ('printed_gc_msg', 'printed_marked_gc_msg', 'gc_msg'): w = self.msg_win_mgr.get_window(jid, account) if jid in self.minimized_controls[account]:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8f2bc1e1c6ec0fc8c07787fc2dd5c0c6aaf...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/8f2bc1e1c6ec0fc8c07787fc2dd5c0c6aaf... You're receiving this email because of your account on dev.gajim.org.