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


Commits:
dee4165f by wurstsalat at 2025-08-03T16:39:17+02:00
imprv: Shortcuts: Bind Ctrl+W to close Gajim if no chat is selected

Fixes #11960

- - - - -


1 changed file:

- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/main.py
=====================================
@@ -526,7 +526,8 @@ def _on_action(
                 )
                 return None
 
-        if action_name == "escape":
+        if action_name in ("escape", "close-chat"):
+            # Attempt to close Gajim window if no chat has been selected
             self.close()
 
         elif action_name == "restore-chat":



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/dee4165ff29d2f7f5764d3d0a21bc57ca9940c8f
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