remove comment (I fill a ticket for that)

This commit is contained in:
Yann Leboulanger 2005-03-28 11:05:08 +00:00
parent a4121119ef
commit 97d6098491
1 changed files with 1 additions and 3 deletions

View File

@ -519,9 +519,7 @@ class Add_new_contact_window:
liststore = gtk.ListStore(str) liststore = gtk.ListStore(str)
self.group_comboboxentry.set_model(liststore) self.group_comboboxentry.set_model(liststore)
for g in self.plugin.roster.groups[account].keys(): for g in self.plugin.roster.groups[account].keys():
if g != 'not in the roster': #FIXME: nk 2 yann. it seems that the empty groups are NOT deleted! if g != 'not in the roster':
#NO MATTER WHAT LEAVE THAT HIS, because even if we delete empty groups, not in roster can have one
#and we don't want the user to choose to add more
self.group_comboboxentry.append_text(g) self.group_comboboxentry.append_text(g)
self.xml.signal_autoconnect(self) self.xml.signal_autoconnect(self)