File alacarte-nohelp.patch of Package alacarte

Index: alacarte-3.5.5/Alacarte/MainWindow.py
===================================================================
--- alacarte-3.5.5.orig/Alacarte/MainWindow.py
+++ alacarte-3.5.5/Alacarte/MainWindow.py
@@ -54,10 +54,6 @@ class MainWindow(object):
         self.tree.get_object('move_up_button').set_sensitive(False)
         self.tree.get_object('move_down_button').set_sensitive(False)
         self.tree.get_object('new_separator_button').set_sensitive(False)
-        accelgroup = Gtk.AccelGroup()
-        keyval, modifier = Gtk.accelerator_parse('F1')
-        accelgroup.connect(keyval, modifier, Gtk.AccelFlags.VISIBLE, self.on_help_button_clicked)
-        self.tree.get_object('mainwindow').add_accel_group(accelgroup)
 
     def run(self):
         self.loadMenus()
Index: alacarte-3.5.5/data/alacarte.ui
===================================================================
--- alacarte-3.5.5.orig/data/alacarte.ui
+++ alacarte-3.5.5/data/alacarte.ui
@@ -68,18 +68,6 @@
             <property name="visible">True</property>
             <property name="layout_style">GTK_BUTTONBOX_END</property>
             <child>
-              <object class="GtkButton" id="help_button">
-                <property name="visible">True</property>
-                <property name="can_default">True</property>
-                <property name="can_focus">True</property>
-                <property name="label">gtk-help</property>
-                <property name="use_stock">True</property>
-                <property name="relief">GTK_RELIEF_NORMAL</property>
-                <property name="focus_on_click">True</property>
-                <signal handler="on_help_button_clicked" name="clicked"/>
-              </object>
-            </child>
-            <child>
               <object class="GtkButton" id="restore_button">
                 <property name="visible">True</property>
                 <property name="tooltip-text" translatable="yes">Restore the default menu layout</property>
@@ -392,7 +380,6 @@
       </object>
     </child>
     <action-widgets>
-      <action-widget response="-11">help_button</action-widget>
       <action-widget response="0">restore_button</action-widget>
       <action-widget response="-7">close_button</action-widget>
     </action-widgets>
openSUSE Build Service is sponsored by