Updating branch refs/heads/master
         to 709ad772c8eaa711c3559d06d59b0799891958f2 (commit)
       from 138ceef650314876bce692960e8600ac740349a8 (commit)

commit 709ad772c8eaa711c3559d06d59b0799891958f2
Author: Mark Trompell <m...@foresightlinux.org>
Date:   Tue Jun 2 17:03:42 2009 +0200

    no comment

 panel-plugin/indicator.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index ed7d6ad..ab1cd84 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -185,6 +185,13 @@ indicator_new (XfcePanelPlugin *plugin)
     "widget \"*.indicator-applet-menubar\" style 
\"indicator-applet-menubar-style\"");
   gtk_widget_set_name(GTK_WIDGET (plugin), "indicator-applet-menubar");
   /* create some panel widgets */
+  indicator->button = gtk_button_new ("foo");
+  gtk_button_set_relief (GTK_BUTTON(indicator->button), GTK_RELIEF_NONE);
+    
+  g_signal_connect (G_OBJECT(mounter->button), "button_press_event",
+                    G_CALLBACK(on_button_press), indicator);
+
+  
   /* Build menu */
   indicator->menu = gtk_menu_bar_new();
   GTK_WIDGET_SET_FLAGS (indicator->menu, GTK_WIDGET_FLAGS(indicator->menu) | 
GTK_CAN_FOCUS);
@@ -301,9 +308,6 @@ indicator_construct (XfcePanelPlugin *plugin)
 
   /* show the panel's right-click menu on this menu */
   xfce_panel_plugin_add_action_widget (plugin, indicator->button);
-  
-  g_signal_connect (G_OBJECT(mounter->button), "button_press_event",
-                    G_CALLBACK(on_button_press), indicator);
 
   /* connect plugin signals */
   g_signal_connect (G_OBJECT (plugin), "free-data",
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to