Philipp Hörist pushed to branch master at gajim / gajim
Commits:
d485535c by Daniel Brötzmann at 2019-12-11T11:58:22Z
XMLConsole: Close search bar first when pressing Esc
- - - - -
1 changed file:
- gajim/gtk/xml_console.py
Changes:
=====================================
gajim/gtk/xml_console.py
=====================================
@@ -116,6 +116,9 @@ class XMLConsoleWindow(Gtk.ApplicationWindow, EventHelper):
def _on_key_press_event(self, _widget, event):
if event.keyval == Gdk.KEY_Escape:
+ if self._ui.search_revealer.get_child_revealed():
+ self._ui.search_revealer.set_reveal_child(False)
+ return
self.destroy()
if (event.get_state() & Gdk.ModifierType.CONTROL_MASK and
event.keyval == Gdk.KEY_Return or
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/d485535c975bfa10f79ae8c6ca902c248283731b
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/d485535c975bfa10f79ae8c6ca902c248283731b
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits