hide subscription menuitem for not in roster contacts. Fixes #1821

This commit is contained in:
Yann Leboulanger 2006-04-09 10:35:21 +00:00
parent b2032686bb
commit da614accfa
1 changed files with 2 additions and 0 deletions

View File

@ -1334,6 +1334,8 @@ class RosterWindow:
above_send_file_separator.set_no_show_all(True) above_send_file_separator.set_no_show_all(True)
assign_openpgp_key_menuitem.hide() assign_openpgp_key_menuitem.hide()
assign_openpgp_key_menuitem.set_no_show_all(True) assign_openpgp_key_menuitem.set_no_show_all(True)
subscription_menuitem.hide()
subscription_menuitem.set_no_show_all(True)
add_to_roster_menuitem.connect('activate', add_to_roster_menuitem.connect('activate',
self.on_add_to_roster, contact, account) self.on_add_to_roster, contact, account)