Philipp Hörist pushed to branch master at gajim / gajim

Commits:
c8e990f8 by Markus Böhme at 2017-03-25T14:24:30+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.

- - - - -
fbb19c5c by Philipp Hörist at 2017-03-25T17:23:51+01:00
Merge branch 'issue-8548-master' into 'master'

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

Closes #8548

See merge request !74
- - - - -


1 changed file:

- src/roster_window.py


Changes:

=====================================
src/roster_window.py
=====================================
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -3805,7 +3805,7 @@ class RosterWindow:
         if event.keyval == Gdk.KEY_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/ba0408855c3538d053fcace1d3f6cc17c4fb0b70...fbb19c5c505a6082e3de54cf80e2c64269a315bf
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to