Mercurial > pidgin.yaz
diff pidgin/gtkdocklet-gtk.c @ 30710:29e714e980b2
merge of 'c32c1fdff08db87b69fc0eb921a5eaafcb5ef67e'
and 'fcd99a6bb8c6362d64f295a1b95a5b1130460b85'
author | andrew.victor@mxit.com |
---|---|
date | Fri, 28 May 2010 21:10:09 +0000 |
parents | 26c1c5069c28 |
children | 3ed54142386f 7fb5e60fd919 |
line wrap: on
line diff
--- a/pidgin/gtkdocklet-gtk.c Fri May 28 21:08:49 2010 +0000 +++ b/pidgin/gtkdocklet-gtk.c Fri May 28 21:10:09 2010 +0000 @@ -38,7 +38,13 @@ static void docklet_gtk_status_clicked_cb(GtkStatusIcon *status_icon, guint button, guint activate_time, gpointer user_data) { - pidgin_docklet_clicked(button); + purple_debug_info("docklet", "The button is %u\n", button); +#ifdef GDK_WINDOWING_QUARTZ + /* You can only click left mouse button on MacOSX native GTK. Let that be the menu */ + pidgin_docklet_clicked(3); +#else + pidgin_docklet_clicked(button); +#endif } static void