changeset 29953:fb0245b8c177

pidgin: Add charkins's patch for gtkstatusicon blinking. Fixes #11855
author Paul Aurich <paul@darkrain42.org>
date Sun, 16 May 2010 15:50:23 +0000
parents cb4eb163e3a4
children b3377040edc1
files ChangeLog pidgin/gtkdocklet-gtk.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun May 16 05:57:08 2010 +0000
+++ b/ChangeLog	Sun May 16 15:50:23 2010 +0000
@@ -1,6 +1,9 @@
 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.
 
--- a/pidgin/gtkdocklet-gtk.c	Sun May 16 05:57:08 2010 +0000
+++ b/pidgin/gtkdocklet-gtk.c	Sun May 16 15:50:23 2010 +0000
@@ -75,6 +75,12 @@
 	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