[Xfce4-commits] <xfce4-indicator-plugin:master> remove some leftovers

Mark Trompell noreply at xfce.org
Wed Jul 13 14:50:02 CEST 2011


Updating branch refs/heads/master
         to 19d87ed90551665589996823e56d86af0ad2bf10 (commit)
       from 514f634b34ed5eba914afe211561ef951fc9febb (commit)

commit 19d87ed90551665589996823e56d86af0ad2bf10
Author: Mark Trompell <mark at foresightlinux.org>
Date:   Wed Jul 13 14:48:25 2011 +0200

    remove some leftovers

 panel-plugin/indicator.c |   19 +------------------
 1 files changed, 1 insertions(+), 18 deletions(-)

diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index fee5185..9b9610f 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -36,10 +36,7 @@ indicator_construct (XfcePanelPlugin *plugin);
 
 static gboolean
 load_module (const gchar * name, IndicatorPlugin * indicator);
-/*
-static gboolean
-on_menu_press (GtkWidget *widget, GdkEventButton *event, IndicatorPlugin *indicator);
-*/
+
 /* register the plugin */
 XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL (indicator_construct);
 
@@ -152,7 +149,6 @@ indicator_size_changed (XfcePanelPlugin *plugin,
   else
     gtk_widget_set_size_request (GTK_WIDGET (plugin), size, -1);
 
-  /* we handled the orientation */
   return TRUE;
 }
 
@@ -174,19 +170,6 @@ on_button_press (GtkWidget *widget, GdkEventButton *event, IndicatorPlugin *indi
     return FALSE ;
 }
 
-#if FALSE
-static gboolean
-on_menu_press (GtkWidget *widget, GdkEventButton *event, IndicatorPlugin *indicator)
-{
-    if (indicator != NULL && event->button == 1) /* left click only */
-    {
-     /*   gtk_menu_popup (GTK_MENU(indicator->menu), NULL, NULL, NULL, NULL, 0,
-                        event->time);*/
-        return TRUE;
-    }
-    return FALSE ;
-}
-#endif
 static void
 indicator_construct (XfcePanelPlugin *plugin)
 {



More information about the Xfce4-commits mailing list