[gnome-dictionary: 2/5] Add Keyboard Shortcuts related changes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary: 2/5] Add Keyboard Shortcuts related changes
- Date: Fri, 25 Sep 2020 16:09:13 +0000 (UTC)
commit 5f480b0b64b1b00b65b7b5f982c117969aec9048
Author: Sabri Ünal <libreajans gmail com>
Date: Sun Feb 9 15:08:56 2020 +0300
Add Keyboard Shortcuts related changes
po/POTFILES.in | 1 +
src/gdict-app-menus.ui | 4 ++++
src/gdict.gresource.xml | 1 +
3 files changed, 6 insertions(+)
---
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
@@ -93,6 +93,10 @@
<attribute name="label" translatable="yes">Pr_eferences</attribute>
<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>
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]