[gtranslator/leo] Add help menu option



commit 705e94a93065e915be62933fa96d5424abc330dc
Author: Daniel GarcĂ­a Moreno <dani danigm net>
Date:   Sat Oct 12 12:04:15 2019 +0200

    Add help menu option

 src/gtr-notebook.ui | 16 +++++++++++++++-
 src/gtr-projects.ui | 16 +++++++++++++++-
 2 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-notebook.ui b/src/gtr-notebook.ui
index e2787b0e..8a950c11 100644
--- a/src/gtr-notebook.ui
+++ b/src/gtr-notebook.ui
@@ -267,6 +267,20 @@
             <property name="position">9</property>
           </packing>
         </child>
+        <child>
+          <object class="GtkModelButton" id="help_button">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">False</property>
+            <property name="action_name">app.help</property>
+            <property name="text" translatable="yes">Help</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">10</property>
+          </packing>
+        </child>
         <child>
           <object class="GtkModelButton" id="quit">
             <property name="visible">True</property>
@@ -278,7 +292,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="position">10</property>
+            <property name="position">11</property>
           </packing>
         </child>
       </object>
diff --git a/src/gtr-projects.ui b/src/gtr-projects.ui
index 0540808f..7163095a 100644
--- a/src/gtr-projects.ui
+++ b/src/gtr-projects.ui
@@ -193,6 +193,20 @@
             <property name="position">5</property>
           </packing>
         </child>
+        <child>
+          <object class="GtkModelButton" id="help_button">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">False</property>
+            <property name="action_name">app.help</property>
+            <property name="text" translatable="yes">Help</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="position">6</property>
+          </packing>
+        </child>
         <child>
           <object class="GtkModelButton" id="quit">
             <property name="visible">True</property>
@@ -204,7 +218,7 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="position">6</property>
+            <property name="position">7</property>
           </packing>
         </child>
       </object>


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