pidgin: c4a87492: pidgin: Add charkins's patch for gtkstat...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun May 16 11:56:09 EDT 2010


-----------------------------------------------------------------
Revision: c4a874926d07b8597db4b78a181a89cf720a8418
Ancestor: dcd1194eb2bd80a296737c518ce2474661d9fa1f
Author: darkrain42 at pidgin.im
Date: 2010-05-16T15:50:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c4a874926d07b8597db4b78a181a89cf720a8418

Modified files:
        ChangeLog pidgin/gtkdocklet-gtk.c

ChangeLog: 

pidgin: Add charkins's patch for gtkstatusicon blinking.  Fixes #11855

-------------- next part --------------
============================================================
--- ChangeLog	ba66c381f1ac9100d809b1f0d78016f3f9ef74c6
+++ ChangeLog	1e1ee62b5fef93870702d926669a1410d8f4126d
@@ -1,6 +1,9 @@ version 2.7.1 (??/??/????):
 Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
 
 version 2.7.1 (??/??/????):
+	Pidgin:
+	* Restore the tray icon's blinking functionality.
+
 	Bonjour:
 	* Fix a crash on disconnect.
 
============================================================
--- pidgin/gtkdocklet-gtk.c	621886961dfcbcd728e875983d4e131264731683
+++ pidgin/gtkdocklet-gtk.c	4c8694f749bba34ea1eda230978b1173e7353de6
@@ -75,6 +75,12 @@ docklet_gtk_status_update_icon(PurpleSta
 	if (icon_name) {
 		gtk_status_icon_set_from_icon_name(docklet, icon_name);
 	}
+
+	if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/docklet/blink")) {
+		gtk_status_icon_set_blinking(docklet, (pending && !connecting));
+	} else if (gtk_status_icon_get_blinking(docklet)) {
+		gtk_status_icon_set_blinking(docklet, FALSE);
+	}
 }
 
 static void


More information about the Commits mailing list