[gedit] Create shortcut Ctrl+N to open a new top-level window
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Create shortcut Ctrl+N to open a new top-level window
- Date: Fri, 28 Mar 2014 20:03:26 +0000 (UTC)
commit 287d926001e6ceb15af208c1e16d530a534d8b9c
Author: Felipe Borges <felipeborges src gnome org>
Date: Thu Mar 27 22:16:02 2014 -0300
Create shortcut Ctrl+N to open a new top-level window
https://bugzilla.gnome.org/show_bug.cgi?id=727197
gedit/gedit-app.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index ce34e52..ed09fb0 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -490,6 +490,8 @@ gedit_app_startup (GApplication *application)
/* Accelerators */
gtk_application_add_accelerator (GTK_APPLICATION (application),
+ "<Primary>N", "app.new-window", NULL);
+ gtk_application_add_accelerator (GTK_APPLICATION (application),
"<Primary>Q", "app.quit", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
"F1", "app.help", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]