Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim

Commits:
b31e1b6a by Markus Böhme at 2017-03-25T14:31:48+01:00
Do not close chat window on ESC key when roster filtering is active

When the roster window active it can be filtered by starting to type.
If the window behavior "single window for everything" is selected,
trying to abort the filtering by pressing the ESC key also closes a chat
window. Fix this behavior by stopping event propagation in case the ESC
key is pressed while roster filtering is active.

Fixes issue #8548.

- - - - -
051234f2 by Philipp Hörist at 2017-03-25T17:22:55+01:00
Merge branch 'issue-8548-gajim_0.16' into 'gajim_0.16'

Fix issue #8548 on gajim_0.16: Do not close chat window on ESC key when roster 
filtering is active

See merge request !73
- - - - -


1 changed file:

- src/roster_window.py


Changes:

=====================================
src/roster_window.py
=====================================
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -4059,7 +4059,7 @@ class RosterWindow:
         if event.keyval == gtk.keysyms.Escape:
             if self.rfilter_enabled:
                 self.disable_rfilter()
-                return
+                return True
             if gajim.interface.msg_win_mgr.mode == \
             MessageWindowMgr.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER and \
             gajim.interface.msg_win_mgr.one_window_opened():



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/bdb22b9aea83123edde9c3a849f863c906180c50...051234f2c142383937c6566718a8c6390c35c918
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to