[gnome-control-center/gnome-3-6] shell: Add F1 accelerator to show help
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-6] shell: Add F1 accelerator to show help
- Date: Sat, 3 Nov 2012 14:37:56 +0000 (UTC)
commit c251e5962b510ca3b2869f4835078271e0460144
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]