[alacarte] Make the Restore button work



commit ba22fb0db948a65f19a22fc3e6f390d336a11eac
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 17 18:04:16 2014 -0500

    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 files changed, 1 insertions(+), 1 deletions(-)
---
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>


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