[ekiga/gnome-2-26] [windows] Fix popup menu position for icon in task bar



commit 7f9afcb9d4bf46dfcd5377eaad56c2b1238160ec
Author: Michael Rickmann <mrickma gwdg de>
Date:   Tue May 11 13:04:18 2010 +0200

    [windows] Fix popup menu position for icon in task bar

 win32/diff/ekiga_sticonmenu1.patch |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/win32/diff/ekiga_sticonmenu1.patch b/win32/diff/ekiga_sticonmenu1.patch
new file mode 100644
index 0000000..8314bec
--- /dev/null
+++ b/win32/diff/ekiga_sticonmenu1.patch
@@ -0,0 +1,18 @@
+# removes ugliness of popup menu of icon from task bar on Windows
+# see http://www.mail-archive.com/ekiga-devel-list gnome org/msg03181.html and http://stackoverflow.com/questions/1138891/gtk-statusicon-and-gtk-menu-on-windows
+
+diff -ur ekiga.orig/src/gui/statusicon.cpp ekiga/src/gui/statusicon.cpp
+--- ekiga.orig/src/gui/statusicon.cpp	2009-08-31 14:04:57.000000000 +0200
++++ ekiga/src/gui/statusicon.cpp	2009-08-31 14:05:17.000000000 +0200
+@@ -246,7 +246,11 @@
+ 
+   gtk_menu_popup (GTK_MENU (popup),
+                   NULL, NULL, 
++#ifdef WIN32
++                  NULL, NULL,
++#else
+                   (GtkMenuPositionFunc)gtk_status_icon_position_menu, icon,
++#endif
+                   button, activate_time);
+ }
+ 



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