Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
56fdedb5 by wurstsalat at 2023-10-31T22:38:58+01:00
imprv: Close main window when pressing Escape key

Fixes #11543

- - - - -


1 changed file:

- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/main.py
=====================================
@@ -480,6 +480,9 @@ def _on_action(self,
                                             control.contact.jid)
                 return None
 
+        if action_name == 'escape' and app.settings.get('escape_key_closes'):
+            self.emit('delete-event', Gdk.Event())
+
         if action_name == 'restore-chat':
             self._chat_page.restore_chat()
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/56fdedb572845038afda74bf9e65de26e700ea16

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/56fdedb572845038afda74bf9e65de26e700ea16
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to