[Xfce4-commits] <xfce4-indicator-plugin:master> fix the fix

Mark Trompell noreply at xfce.org
Thu Feb 17 08:30:11 CET 2011


Updating branch refs/heads/master
         to 2204270f69623a88387f0f2770dbf0061df527f9 (commit)
       from 9ef5c622e92f64d61bb246b9924a6dc0805774c2 (commit)

commit 2204270f69623a88387f0f2770dbf0061df527f9
Author: Mark Trompell <mark at foresightlinux.org>
Date:   Tue Jun 2 12:11:15 2009 +0200

    fix the fix

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

diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index e570677..23fc9da 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -257,11 +257,8 @@ indicator_construct (XfcePanelPlugin *plugin)
   /* create the plugin */
   indicator = indicator_new (plugin);
 
-  /* add the ebox to the panel */
-  gtk_container_add (GTK_CONTAINER (plugin), indicator->ebox);
-
-  /* show the panel's right-click menu on this ebox */
-  xfce_panel_plugin_add_action_widget (plugin, indicator->ebox);
+  /* show the panel's right-click menu on this menubar */
+  xfce_panel_plugin_add_action_widget (plugin, indicator->menubar);
 
   /* connect plugin signals */
   g_signal_connect (G_OBJECT (plugin), "free-data",



More information about the Xfce4-commits mailing list