Add missing local variable in resource submenu builder

This commit is contained in:
Stephan Erb 2009-10-28 13:46:41 +01:00
parent 5716ba5fd5
commit 6f71efdc47
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ def build_resources_submenu(contacts, account, action, room_jid=None,
room_account=None, cap=None): room_account=None, cap=None):
''' Build a submenu with contact's resources. ''' Build a submenu with contact's resources.
room_jid and room_account are for action self.on_invite_to_room ''' room_jid and room_account are for action self.on_invite_to_room '''
roster = gajim.interface.roster
sub_menu = gtk.Menu() sub_menu = gtk.Menu()
iconset = gajim.config.get('iconset') iconset = gajim.config.get('iconset')