[Xfce4-commits] <xfce4-taskmanager:master> Remove quit tool button

Mike Massonnet noreply at xfce.org
Wed Sep 29 16:52:01 CEST 2010


Updating branch refs/heads/master
         to a804339c7de432e4829a9b293fb60f629cf377cf (commit)
       from 341f69bc4f0953995f517a8a0e5dc6a901e37793 (commit)

commit a804339c7de432e4829a9b293fb60f629cf377cf
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sat Sep 25 21:17:48 2010 +0000

    Remove quit tool button

 src/process-window.c  |    3 ---
 src/process-window.ui |   10 ----------
 2 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/process-window.c b/src/process-window.c
index 8432634..a8fc1b2 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -150,9 +150,6 @@ xtm_process_window_init (XtmProcessWindow *window)
 	button = GTK_WIDGET (gtk_builder_get_object (window->priv->builder, "toolbutton-about"));
 	g_signal_connect_swapped (button, "clicked", G_CALLBACK (show_about_dialog), window);
 
-	button = GTK_WIDGET (gtk_builder_get_object (window->priv->builder, "toolbutton-quit"));
-	g_signal_connect_swapped (button, "clicked", G_CALLBACK (emit_destroy_signal), window);
-
 	g_object_unref (window->priv->builder);
 	window->priv->builder = NULL;
 }
diff --git a/src/process-window.ui b/src/process-window.ui
index d6e7da2..ad48f8f 100644
--- a/src/process-window.ui
+++ b/src/process-window.ui
@@ -76,16 +76,6 @@
                 <property name="expand">False</property>
               </packing>
             </child>
-            <child>
-              <object class="GtkToolButton" id="toolbutton-quit">
-                <property name="visible">True</property>
-                <property name="use_underline">True</property>
-                <property name="stock_id">gtk-quit</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-              </packing>
-            </child>
           </object>
           <packing>
             <property name="expand">False</property>



More information about the Xfce4-commits mailing list