pidgin: 84c7f6ba: GtkStatusIcon only exposes a single butt...

qulogic at qulogic at
Wed May 26 04:16:26 EDT 2010

Revision: 84c7f6ba2f4be4be1e1698201fae77872ac21fee
Ancestor: 4e05828c553f15bdefc89718bf1d38d936714fa8
Author: qulogic at
Date: 2010-05-26T07:23:29
Branch: im.pidgin.pidgin

Modified files:


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.

-------------- next part --------------
--- pidgin/gtkdocklet-gtk.c	fc2b472415b7044278c684d149a1542e8fd693e3
+++ pidgin/gtkdocklet-gtk.c	cad88b2542a67d03d047f8e16cdb47c071665590
@@ -38,7 +38,13 @@ docklet_gtk_status_clicked_cb(GtkStatusI
 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);
+	/* You can only click left mouse button on MacOSX native GTK. Let that be the menu */
+	pidgin_docklet_clicked(3);
+	pidgin_docklet_clicked(button);
 static void

More information about the Commits mailing list