|
|
@ -434,11 +434,12 @@ class Interface(object): |
|
|
|
|
|
|
|
|
|
|
|
replies = self._main_tabs.get_nth_page(1) |
|
|
|
replies = self._main_tabs.get_nth_page(1) |
|
|
|
self._update_title(data, replies.count) |
|
|
|
self._update_title(data, replies.count) |
|
|
|
if (data + replies.count) > 0: |
|
|
|
if self._statusicon: |
|
|
|
self._statusicon.set_from_pixbuf(self._images['new-messages']) |
|
|
|
if (data + replies.count) > 0: |
|
|
|
return |
|
|
|
self._statusicon.set_from_pixbuf(self._images['new-messages']) |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
self._statusicon.set_from_pixbuf(self._images['icon']) |
|
|
|
self._statusicon.set_from_pixbuf(self._images['icon']) |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
def _update_replies_count(self, widget, data): |
|
|
|
def _update_replies_count(self, widget, data): |
|
|
@ -450,11 +451,12 @@ class Interface(object): |
|
|
|
|
|
|
|
|
|
|
|
messages = self._main_tabs.get_nth_page(0) |
|
|
|
messages = self._main_tabs.get_nth_page(0) |
|
|
|
self._update_title(messages.count, data) |
|
|
|
self._update_title(messages.count, data) |
|
|
|
if (data + messages.count) > 0: |
|
|
|
if self._statusicon: |
|
|
|
self._statusicon.set_from_pixbuf(self._images['new-messages']) |
|
|
|
if (data + messages.count) > 0: |
|
|
|
return |
|
|
|
self._statusicon.set_from_pixbuf(self._images['new-messages']) |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
self._statusicon.set_from_pixbuf(self._images['icon']) |
|
|
|
self._statusicon.set_from_pixbuf(self._images['icon']) |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
def _clear_posts(self, widget): |
|
|
|
def _clear_posts(self, widget): |
|
|
|