Blob Blame History Raw
From ba22fb0db948a65f19a22fc3e6f390d336a11eac Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Mon, 17 Feb 2014 18:04:16 -0500
Subject: [PATCH] Make the Restore button work

The callback assumes that the first argument is 'self', not
the button that was clicked.
---
 data/alacarte.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/alacarte.ui b/data/alacarte.ui
index 28905c2..90941a6 100644
--- a/data/alacarte.ui
+++ b/data/alacarte.ui
@@ -77,7 +77,7 @@
                 <property name="receives_default">False</property>
                 <property name="tooltip_text" translatable="yes">Restore the default menu layout</property>
                 <property name="use_stock">True</property>
-                <signal name="clicked" handler="on_restore_button_clicked" swapped="no"/>
+                <signal name="clicked" handler="on_restore_button_clicked" swapped="yes"/>
               </object>
               <packing>
                 <property name="expand">False</property>
-- 
1.8.5.3