summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSabri Ünal <libreajans@gmail.com>2020-02-09 15:08:56 +0300
committerEmmanuele Bassi <ebassi@gnome.org>2020-09-25 17:01:30 +0100
commit5f480b0b64b1b00b65b7b5f982c117969aec9048 (patch)
tree38469bd917ce70918ca9768fae1c8a3a55661359
parent81bcafb7912884781fe9b7b97078dabc5d3f64db (diff)
downloadgnome-dictionary-5f480b0b64b1b00b65b7b5f982c117969aec9048.tar.gz
Add Keyboard Shortcuts related changes
-rw-r--r--po/POTFILES.in1
-rw-r--r--src/gdict-app-menus.ui4
-rw-r--r--src/gdict.gresource.xml1
3 files changed, 6 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 07fd624..859bc71 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -13,6 +13,7 @@ src/gdict-app.c
src/gdict-client-context.c
src/gdict-database-chooser.c
src/gdict-defbox.c
+src/gdict-help-overlay.ui
src/gdict-pref-dialog.c
src/gdict-pref-dialog.ui
src/gdict-print.c
diff --git a/src/gdict-app-menus.ui b/src/gdict-app-menus.ui
index e8b6107..5c045d5 100644
--- a/src/gdict-app-menus.ui
+++ b/src/gdict-app-menus.ui
@@ -94,6 +94,10 @@
<attribute name="action">app.preferences</attribute>
</item>
<item>
+ <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
+ <attribute name="action">win.show-help-overlay</attribute>
+ </item>
+ <item>
<attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action">app.help</attribute>
<attribute name="accel">F1</attribute>
diff --git a/src/gdict.gresource.xml b/src/gdict.gresource.xml
index d95716e..d16f4a6 100644
--- a/src/gdict.gresource.xml
+++ b/src/gdict.gresource.xml
@@ -2,6 +2,7 @@
<gresources>
<gresource prefix="/org/gnome/Dictionary">
<file preprocess="xml-stripblanks" alias="gtk/menus.ui">gdict-app-menus.ui</file>
+ <file preprocess="xml-stripblanks" alias="gtk/help-overlay.ui">gdict-help-overlay.ui</file>
<file preprocess="xml-stripblanks">gdict-app-window.ui</file>
<file preprocess="xml-stripblanks">gdict-pref-dialog.ui</file>
<file preprocess="xml-stripblanks">gdict-source-dialog.ui</file>