[gtk+] Bloatpad: Add an accelerator in the menu



commit 073a9244812e6841bc48e2dff8a158d81a309d9e
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 5 17:44:03 2011 -0500

    Bloatpad: Add an accelerator in the menu

 examples/bloatpad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 50e30b0..368c81f 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -195,7 +195,7 @@ bloat_pad_startup (GApplication *application)
                                "      <item label='_About Bloatpad' action='app.about'/>"
                                "    </section>"
                                "    <section>"
-                               "      <item label='_Quit' action='app.quit'/>"
+                               "      <item label='_Quit' action='app.quit' accel='<Primary>q'/>"
                                "    </section>"
                                "  </menu>"
                                "  <menu id='menubar'>"



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