5b2f0d
From ba22fb0db948a65f19a22fc3e6f390d336a11eac Mon Sep 17 00:00:00 2001
5b2f0d
From: Matthias Clasen <mclasen@redhat.com>
5b2f0d
Date: Mon, 17 Feb 2014 18:04:16 -0500
5b2f0d
Subject: [PATCH] Make the Restore button work
5b2f0d
5b2f0d
The callback assumes that the first argument is 'self', not
5b2f0d
the button that was clicked.
5b2f0d
---
5b2f0d
 data/alacarte.ui | 2 +-
5b2f0d
 1 file changed, 1 insertion(+), 1 deletion(-)
5b2f0d
5b2f0d
diff --git a/data/alacarte.ui b/data/alacarte.ui
5b2f0d
index 28905c2..90941a6 100644
5b2f0d
--- a/data/alacarte.ui
5b2f0d
+++ b/data/alacarte.ui
5b2f0d
@@ -77,7 +77,7 @@
5b2f0d
                 <property name="receives_default">False</property>
5b2f0d
                 <property name="tooltip_text" translatable="yes">Restore the default menu layout</property>
5b2f0d
                 <property name="use_stock">True</property>
5b2f0d
-                <signal name="clicked" handler="on_restore_button_clicked" swapped="no"/>
5b2f0d
+                <signal name="clicked" handler="on_restore_button_clicked" swapped="yes"/>
5b2f0d
               </object>
5b2f0d
               <packing>
5b2f0d
                 <property name="expand">False</property>
5b2f0d
-- 
5b2f0d
1.8.5.3
5b2f0d