[gnome-control-center] shell: Add F1 accelerator to show help



commit da1754961a0df073c68a4ca3d2379c54a82dd429
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Fri Nov 2 20:50:42 2012 -0400

    shell: Add F1 accelerator to show help
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687485

 shell/control-center.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index a3f020b..eb1f665 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -216,6 +216,9 @@ application_startup_cb (GApplication       *application,
   gtk_application_set_app_menu (GTK_APPLICATION (application),
                                 G_MENU_MODEL (menu));
 
+  gtk_application_add_accelerator (GTK_APPLICATION (application),
+                                   "F1", "app.help", NULL);
+
   /* nothing else to do here, we don't want to show a window before
    * we've looked at the commandline
    */



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