[gnome-logs/wip/latest-mockup: 4/6] Add accelerator for search functionality



commit b606ac13de696b83245bb477b3aa537311d97320
Author: David King <davidk gnome org>
Date:   Tue Oct 8 15:30:53 2013 +0100

    Add accelerator for search functionality

 src/gl-application.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-application.c b/src/gl-application.c
index 5919a5c..f6bbed5 100644
--- a/src/gl-application.c
+++ b/src/gl-application.c
@@ -126,6 +126,8 @@ gl_application_activate (GApplication *application)
 
     window = gl_window_new (GTK_APPLICATION (application));
     gtk_widget_show (window);
+    gtk_application_add_accelerator (GTK_APPLICATION (application),
+                                     "<Primary>f", "win.search", NULL);
 }
 
 static void


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