# HG changeset patch # User Elliott Sales de Andrade # Date 1274858609 0 # Node ID 26c1c5069c282cd51a51fef08e617fc802b1d507 # Parent 295acc982197c07686206200818b416c4ef21851 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. diff -r 295acc982197 -r 26c1c5069c28 pidgin/gtkdocklet-gtk.c --- 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