[ekiga] Fixed status icon popup position (patch from H. Figuière)



commit 7764ded7c339bc7fed013565c84626092779cdfd
Author: Julien Puydt <jpuydt gnome org>
Date:   Sat May 16 10:19:02 2009 +0200

    Fixed status icon popup position (patch from H. Figuière)
---
 src/gui/statusicon.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gui/statusicon.cpp b/src/gui/statusicon.cpp
index 04625ad..4c8d1e9 100644
--- a/src/gui/statusicon.cpp
+++ b/src/gui/statusicon.cpp
@@ -235,7 +235,7 @@ statusicon_get_type ()
  * Callbacks
  */
 static void
-show_popup_menu_cb (G_GNUC_UNUSED GtkStatusIcon *icon,
+show_popup_menu_cb (GtkStatusIcon *icon,
                     guint button,
                     guint activate_time,
                     gpointer data)
@@ -245,7 +245,8 @@ show_popup_menu_cb (G_GNUC_UNUSED GtkStatusIcon *icon,
   popup = GTK_WIDGET (data);
 
   gtk_menu_popup (GTK_MENU (popup),
-                  NULL, NULL, NULL, NULL,
+                  NULL, NULL, 
+                  (GtkMenuPositionFunc)gtk_status_icon_position_menu, icon,
                   button, activate_time);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]