[Pidgin] #11855: tray icon don't blink on new messages
Pidgin
trac at pidgin.im
Fri May 14 12:59:54 EDT 2010
#11855: tray icon don't blink on new messages
----------------------+-----------------------------------------------------
Reporter: partizan | Owner:
Type: defect | Status: new
Milestone: 2.7.1 | Component: pidgin (gtk)
Version: 2.7.0 | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by darkrain42):
* milestone: => 2.7.1
Comment:
This is a regression in the gtkstatusicon code. Ubuntu is carrying
charkins's patch for this (along with the backported gtkstatusicon code
itself) in their 2.6.6 version in 10.04. It's a five-line patch that
doesn't break ABI, so I think we should apply it.
{{{
+
+ 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);
+ }
}}}
To the end of gtkdocklet-gtk.c:docklet_gtk_status_update_icon() (see
http://developer.pidgin.im/attachment/ticket/2629/pidgin-gtkstatusicon-
blink.diff)
--
Ticket URL: <http://developer.pidgin.im/ticket/11855#comment:6>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list