[Xfce4-commits] <xfce4-clipman-plugin:master> [status-icon] Position the popup menu correctly

Mike Massonnet noreply at xfce.org
Sat Nov 21 10:50:01 CET 2009


Updating branch refs/heads/master
         to c22e88d06c9f8dbd29eb76bae3d4b971e7d12010 (commit)
       from 1bb6a17f91b460b96b66811b601cf3ca2a203b30 (commit)

commit c22e88d06c9f8dbd29eb76bae3d4b971e7d12010
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sat Nov 21 10:45:38 2009 +0100

    [status-icon] Position the popup menu correctly

 panel-plugin/main-status-icon.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/main-status-icon.c b/panel-plugin/main-status-icon.c
index 9a8db73..ded195b 100644
--- a/panel-plugin/main-status-icon.c
+++ b/panel-plugin/main-status-icon.c
@@ -145,7 +145,7 @@ cb_status_icon_popup_menu (MyPlugin *plugin, guint button, guint activate_time)
 
   gtk_menu_set_screen (GTK_MENU (plugin->popup_menu), gtk_status_icon_get_screen (plugin->status_icon));
   gtk_menu_popup (GTK_MENU (plugin->popup_menu), NULL, NULL,
-                  (GtkMenuPositionFunc)NULL, NULL,
+                  (GtkMenuPositionFunc)gtk_status_icon_position_menu, plugin->status_icon,
                   0, gtk_get_current_event_time ());
 }
 



More information about the Xfce4-commits mailing list