Print Offline icon instead Gtk-Stop in blocked items roster
context 'send custom status' menu entry.
This commit is contained in:
parent
67f60dff1f
commit
17adcf7520
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue