This commit is contained in:
Nikos Kouremenos 2005-05-31 17:48:22 +00:00
parent 19e7cd6fb5
commit 490f24e86c
2 changed files with 7 additions and 6 deletions

View File

@ -22,7 +22,7 @@
<signal name="delete_event" handler="on_roster_window_delete_event" last_modification_time="Mon, 21 Mar 2005 12:34:59 GMT"/>
<child>
<widget class="GtkVBox" id="vbox1">
<widget class="GtkVBox" id="roster_vbox">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>

View File

@ -383,8 +383,8 @@ class Roster_window:
array[jid]['subscription'], array[jid]['ask'], resource, 0,
keyID)
# when we draw the roster, we can't have twice the same
# user with 2 resources
# when we draw the roster, we avoid having the same contact
# more than once (eg. we avoid showing it twice with 2 resources)
self.contacts[account][ji] = [user1]
for g in array[jid]['groups'] :
if g in self.groups[account].keys():
@ -1545,7 +1545,8 @@ class Roster_window:
liststore = gtk.ListStore(gobject.TYPE_STRING, gtk.Image,
gobject.TYPE_STRING)
self.status_combobox = gtk.ComboBox()
self.xml.get_widget('vbox1').pack_end(self.status_combobox, False)
roster_vbox = self.xml.get_widget('roster_vbox')
roster_vbox.pack_end(self.status_combobox, False)
cell = cell_renderer_image.CellRendererImage()
self.status_combobox.pack_start(cell, False)
self.status_combobox.add_attribute(cell, 'image', 1)