summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2016-02-17 10:07:02 +0000
committerPhillip Wood <phillip.wood@dunelm.org.uk>2016-02-18 14:11:14 +0000
commitc38c3361ca2b8aa1804cafddf22c4f074fc8b996 (patch)
treee6ed1450c98541b602c549ccbc0e1d87bdb4248f /gtk/gtkapplication.c
parentd57f4a781cbcab7eb0912edf0ccbf811090067ce (diff)
downloadgtk+-c38c3361ca2b8aa1804cafddf22c4f074fc8b996.tar.gz
Document help overlay action name in GtkApplication
This means all the information needed to automatically load a shortcuts window and create a menu item to show it is in one place. https://bugzilla.gnome.org/show_bug.cgi?id=761431
Diffstat (limited to 'gtk/gtkapplication.c')
-rw-r--r--gtk/gtkapplication.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 3828738d5f..ce023a21ab 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -96,11 +96,12 @@
* resources. See gtk_icon_theme_add_resource_path() for more
* information.
*
- * If there is a resource located at "gtk/help-overlay.ui" which is
- * defining a #GtkShortcutsWindow with ID "help_overlay" then GtkApplication
+ * If there is a resource located at "gtk/help-overlay.ui" which
+ * defines a #GtkShortcutsWindow with ID "help_overlay" then GtkApplication
* associates an instance of this shortcuts window with each
* #GtkApplicationWindow and sets up keyboard accelerators (Control-F1
- * and Control-?) to open it.
+ * and Control-?) to open it. To create an menu item that displays the
+ * shortcuts window associate the item with the action win.show-help-overlay.
*
* ## A simple application ## {#gtkapplication}
*