Mercurial > pidgin
changeset 30095:26c1c5069c28
GtkStatusIcon only exposes a single button press on a Mac for whatever
reason, so we'll have to make do with only showing the menu, and not
toggling the buddy list visibility.
Refs #2629.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 26 May 2010 07:23:29 +0000 |
parents | 295acc982197 |
children | 8de1ce16087c |
files | pidgin/gtkdocklet-gtk.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdocklet-gtk.c Wed May 26 05:44:01 2010 +0000 +++ b/pidgin/gtkdocklet-gtk.c Wed May 26 07:23:29 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