Hook up some signals
authorThomas White <taw@bitwiz.me.uk>
Mon, 23 Apr 2018 21:17:43 +0000 (23:17 +0200)
committerThomas White <taw@bitwiz.me.uk>
Mon, 23 Apr 2018 21:17:43 +0000 (23:17 +0200)
data/stylesheeteditor.ui

index 514e01c..a3ec7c8 100644 (file)
@@ -27,6 +27,7 @@
                 <property name="receives_default">True</property>
                 <property name="use_stock">True</property>
                 <property name="always_show_image">True</property>
+                <signal name="clicked" handler="revert_sig" swapped="no"/>
               </object>
               <packing>
                 <property name="expand">True</property>
@@ -42,6 +43,7 @@
                 <property name="receives_default">True</property>
                 <property name="use_stock">True</property>
                 <property name="always_show_image">True</property>
+                <signal name="clicked" handler="gtk_widget_destroy" object="StylesheetEditor" swapped="yes"/>
               </object>
               <packing>
                 <property name="expand">True</property>