diff --git a/src/roster_window.py b/src/roster_window.py index 7ab0a0c2d..a8e902e23 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2021,8 +2021,7 @@ class RosterWindow: blocked = True break if blocked: - icon = gtk.image_new_from_stock(gtk.STOCK_STOP, gtk.ICON_SIZE_MENU) - send_custom_status_menuitem.set_image(icon) + send_custom_status_menuitem.set_image(self.load_icon('offline')) send_custom_status_menuitem.set_sensitive(False) elif gajim.interface.status_sent_to_users.has_key(account) and \ jid in gajim.interface.status_sent_to_users[account]: @@ -2560,8 +2559,7 @@ class RosterWindow: send_custom_status_menuitem = gtk.ImageMenuItem(_('Send Cus_tom Status')) # add a special img for this menuitem if group in gajim.connections[account].blocked_groups: - icon = gtk.image_new_from_stock(gtk.STOCK_STOP, gtk.ICON_SIZE_MENU) - send_custom_status_menuitem.set_image(icon) + send_custom_status_menuitem.set_image(self.load_icon('offline')) send_custom_status_menuitem.set_sensitive(False) elif gajim.interface.status_sent_to_groups.has_key(account) and \ group in gajim.interface.status_sent_to_groups[account]: