[geary/wip/composer-shortcuts: 4/4] Don't override Ctrl+W to close the composer



commit 58f86acb3a74477899889fabe0275fc63d3a1b5a
Author: Michael Gratton <mike vee net>
Date:   Wed Feb 13 23:08:43 2019 +1100

    Don't override Ctrl+W to close the composer
    
    This should be handled at a per-window level.

 src/client/composer/composer-widget.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index a3f619b0..16437a3e 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -149,7 +149,7 @@ public class ComposerWidget : Gtk.EventBox, Geary.BaseInterface {
         application.add_window_accelerators(ACTION_ITALIC, { "<Ctrl>i" } );
         application.add_window_accelerators(ACTION_UNDERLINE, { "<Ctrl>u" } );
         application.add_window_accelerators(ACTION_STRIKETHROUGH, { "<Ctrl>k" } );
-        application.add_window_accelerators(ACTION_CLOSE, { "<Ctrl>w", "Escape" } );
+        application.add_window_accelerators(ACTION_CLOSE, { "Escape" } );
         application.add_window_accelerators(ACTION_ADD_ATTACHMENT, { "<Ctrl>t" } );
         application.add_window_accelerators(ACTION_DETACH, { "<Ctrl>d" } );
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]