diff --git a/data/iconsets/transports/msn/32x32/offline.png b/data/iconsets/transports/msn/32x32/offline.png index d51019215..01860ad37 100644 Binary files a/data/iconsets/transports/msn/32x32/offline.png and b/data/iconsets/transports/msn/32x32/offline.png differ diff --git a/src/common/events.py b/src/common/events.py index dbadef033..c17d2c2ea 100644 --- a/src/common/events.py +++ b/src/common/events.py @@ -219,7 +219,7 @@ class Events: return first_account, first_jid, first_event def get_nb_systray_events(self, types = []): - '''returns the number of events displayedin roster''' + '''returns the number of events displayed in roster''' return self._get_nb_events(attribute = 'systray', types = types) def get_systray_events(self): diff --git a/src/statusicon.py b/src/statusicon.py index 0201afe64..2e519cb45 100644 --- a/src/statusicon.py +++ b/src/statusicon.py @@ -26,8 +26,6 @@ class StatusIcon(systray.Systray): #NOTE: gtk api does NOT allow: # leave, enter motion notify # and can't do cool tooltips we use - # and we could use blinking instead of unsupported animation - # or we could emulate animation by every foo ms chaning the image def __init__(self): systray.Systray.__init__(self) self.status_icon = gtk.StatusIcon() @@ -55,9 +53,12 @@ class StatusIcon(systray.Systray): text = helpers.get_notification_icon_tooltip_text() self.status_icon.set_tooltip(text) if gajim.events.get_nb_systray_events(): - state = 'message' + state = 'message' # FIXME: this state should be called event, not message + self.status_icon.props.blinking = True else: state = self.status + self.status_icon.props.blinking = False + #FIXME: do not always use 16x16 (ask actually used size and use that) image = gajim.interface.roster.jabber_state_images['16'][state] if image.get_storage_type() == gtk.IMAGE_PIXBUF: