[gitg] Remove useless help button



commit 13f7a2c60089960021715402a5e9928e519aeedd
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Mar 25 17:00:42 2016 +0100

    Remove useless help button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763969

 gitg/gitg-application.vala      |    5 -----
 gitg/resources/ui/gitg-menus.ui |   12 ------------
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 8b6c426..ada8c7b 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -212,10 +212,6 @@ public class Application : Gtk.Application
                new_window();
        }
 
-       private void on_app_help_activated()
-       {
-       }
-
        private void on_app_about_activated()
        {
                string[] artists = {"Jakub Steiner <jimmac gmail com>"};
@@ -312,7 +308,6 @@ public class Application : Gtk.Application
 
        private static const ActionEntry[] app_entries = {
                {"new", on_app_new_window_activated},
-               {"help", on_app_help_activated},
                {"about", on_app_about_activated},
                {"quit", on_app_quit_activated},
                {"author-details-global", on_app_author_details_global_activated},
diff --git a/gitg/resources/ui/gitg-menus.ui b/gitg/resources/ui/gitg-menus.ui
index a08468f..5968460 100644
--- a/gitg/resources/ui/gitg-menus.ui
+++ b/gitg/resources/ui/gitg-menus.ui
@@ -26,10 +26,6 @@
         <attribute name="action">app.shortcuts</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">_Help</attribute>
-        <attribute name="action">app.help</attribute>
-      </item>
-      <item>
         <attribute name="label" translatable="yes">_About</attribute>
         <attribute name="action">app.about</attribute>
       </item>
@@ -80,10 +76,6 @@
         <attribute name="action">app.shortcuts</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">_Help</attribute>
-        <attribute name="action">app.help</attribute>
-      </item>
-      <item>
         <attribute name="label" translatable="yes">_About</attribute>
         <attribute name="action">app.about</attribute>
       </item>
@@ -126,10 +118,6 @@
         <attribute name="action">app.shortcuts</attribute>
       </item>
       <item>
-        <attribute name="label" translatable="yes">_Help</attribute>
-        <attribute name="action">app.help</attribute>
-      </item>
-      <item>
         <attribute name="label" translatable="yes">_About</attribute>
         <attribute name="action">app.about</attribute>
       </item>


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