# HG changeset patch # User Paul Aurich # Date 1274025023 0 # Node ID fb0245b8c177e6d36d7767b6dec15153ad20cc34 # Parent cb4eb163e3a4e232d28df36e9471657dc4215a71 pidgin: Add charkins's patch for gtkstatusicon blinking. Fixes #11855 diff -r cb4eb163e3a4 -r fb0245b8c177 ChangeLog --- 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. diff -r cb4eb163e3a4 -r fb0245b8c177 pidgin/gtkdocklet-gtk.c --- 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