summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2019-08-19 22:00:03 +0200
committerGitHub <noreply@github.com>2019-08-19 22:00:03 +0200
commit8c5b390a63a073e4ea71d5251b340a3695fe27d8 (patch)
treee8146de81b58a50e1fb6dfa70e82ae1e057db943
parentc22ee23b62aa5eea980a05d743142f92b5aa18ab (diff)
downloadmidori-git-8c5b390a63a073e4ea71d5251b340a3695fe27d8.tar.gz
Pass empty string to app.win-new accel (#361)
Fixes: #358
-rw-r--r--core/app.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/app.vala b/core/app.vala
index 7091f8c9..c8eab5c1 100644
--- a/core/app.vala
+++ b/core/app.vala
@@ -151,7 +151,7 @@ namespace Midori {
var action = new SimpleAction ("win-new", VariantType.STRING);
action.activate.connect (win_new_activated);
add_action (action);
- set_accels_for_action ("app.win-new", { "<Primary>n" });
+ set_accels_for_action ("app.win-new('')", { "<Primary>n" });
set_accels_for_action ("app.win-incognito-new", { "<Primary><Shift>p", "<Primary><Shift>n" });
// Unset app menu if not handled by the shell