[gtk/matthiasc/for-master: 14/14] widget-factory: Show Ctrl-? in the menu
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 14/14] widget-factory: Show Ctrl-? in the menu
- Date: Thu, 17 Jun 2021 13:00:30 +0000 (UTC)
commit 4d00f1903ab58716b57bcf6b4fe5bde704341830
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 17 08:59:30 2021 -0400
widget-factory: Show Ctrl-? in the menu
We use our own action for showing the shortcuts window,
so we need to associate this shortcut with our action
for it to show up.
demos/widget-factory/widget-factory.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index b5a6662ec9..5b10ecdd74 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1997,6 +1997,7 @@ activate (GApplication *app)
const char *accelerators[2];
} accels[] = {
{ "app.about", { "F1", NULL } },
+ { "app.shortcuts", { "<Control>question", NULL } },
{ "app.quit", { "<Control>q", NULL } },
{ "app.open-in", { "<Control>n", NULL } },
{ "win.dark", { "<Control>d", NULL } },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]