# HG changeset patch # User Daniel Atallah # Date 1274881808 0 # Node ID 8de1ce16087cadaf58ea0f242a5104ac959a1add # Parent 2152d97d145ff0f4cd544493a9a765a4e2e8543b# Parent 26c1c5069c282cd51a51fef08e617fc802b1d507 merge of '1f6b3e2158dd96486ec32995b3f4f93d6b376780' and '84c7f6ba2f4be4be1e1698201fae77872ac21fee' diff -r 2152d97d145f -r 8de1ce16087c pidgin/gtkdocklet-gtk.c --- a/pidgin/gtkdocklet-gtk.c Wed May 26 08:46:57 2010 +0000 +++ b/pidgin/gtkdocklet-gtk.c Wed May 26 13:50:08 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 diff -r 2152d97d145f -r 8de1ce16087c pidgin/pixmaps/Makefile.am --- a/pidgin/pixmaps/Makefile.am Wed May 26 08:46:57 2010 +0000 +++ b/pidgin/pixmaps/Makefile.am Wed May 26 13:50:08 2010 +0000 @@ -482,6 +482,8 @@ tray/16/message_4bit.ico \ tray/16/offline_4bit.ico +TRAY_THEME = tray/hicolor/index.theme + TRAY_16 = \ tray/hicolor/16x16/status/pidgin-tray-away.png \ tray/hicolor/16x16/status/pidgin-tray-busy.png \ @@ -584,6 +586,7 @@ $(TOOLBAR_22) \ $(TOOLBAR_32) \ $(TOOLBAR_48) \ + $(TRAY_THEME) \ $(TRAY_16) \ $(TRAY_16_ICO) \ $(TRAY_22) \ diff -r 2152d97d145f -r 8de1ce16087c pidgin/pixmaps/tray/hicolor/index.theme --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pidgin/pixmaps/tray/hicolor/index.theme Wed May 26 13:50:08 2010 +0000 @@ -0,0 +1,33 @@ +[Icon Theme] +Name=Pidgin +Comment=Icon theme for Pidgin tray icons +Hidden=True +Directories=16x16/status,22x22/status,32x32/status,48x48/status,scalable/status + +[16x16/status] +Size=16 +Context=Status +Type=Threshold + +[22x22/status] +Size=22 +Context=Status +Type=Threshold + +[32x32/status] +Size=32 +Context=Status +Type=Threshold + +[48x48/status] +Size=48 +Context=Status +Type=Threshold + +[scalable/status] +MinSize=1 +Size=128 +MaxSize=256 +Context=Status +Type=Scalable +