[gedit/wip/redesign2: 18/19] Add some more accels
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/redesign2: 18/19] Add some more accels
- Date: Sun, 5 Jan 2014 15:38:49 +0000 (UTC)
commit 196eac33f0989ba210af898ce8bf99edf4e07f27
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Jan 4 12:52:07 2014 +0100
Add some more accels
It really sucks that we have to add these manually when they are
declared in the menu...
gedit/gedit-app.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 5fb16e8..47a1e37 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -509,15 +509,23 @@ gedit_app_startup (GApplication *application)
gtk_application_add_accelerator (GTK_APPLICATION (application),
"<Control><Shift>W", "win.close_all", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
+ "<Control>P", "win.print", NULL);
+ gtk_application_add_accelerator (GTK_APPLICATION (application),
"<Control>F", "win.find", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
+ "<Control>G", "win.find_next", NULL);
+ gtk_application_add_accelerator (GTK_APPLICATION (application),
+ "<Control><Shift>G", "win.find_prev", NULL);
+ gtk_application_add_accelerator (GTK_APPLICATION (application),
"<Control>H", "win.replace", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
"<Control><Shift>K", "win.clear_highlight", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
"<Control>I", "win.goto_line", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
- "<Control>P", "win.print", NULL);
+ "F9", "win.side_panel", NULL);
+ gtk_application_add_accelerator (GTK_APPLICATION (application),
+ "<Control>F9", "win.bottom_panel", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
"F11", "win.fullscreen", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (application),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]