add some comments to previous changeset

This commit is contained in:
Jean-Marie Traissard 2007-01-09 14:29:20 +00:00
parent eea2e1c881
commit 88a358f297
1 changed files with 3 additions and 1 deletions

View File

@ -302,6 +302,7 @@ class GroupchatControl(ChatControlBase):
self.list_treeview.set_expander_column(column)
gajim.gc_connected[self.account][self.room_jid] = False
# disable win, we are connected yet
ChatControlBase.got_disconnected(self)
self.update_ui()
@ -451,7 +452,7 @@ class GroupchatControl(ChatControlBase):
scaled_pix = pix.scale_simple(32, 32, gtk.gdk.INTERP_BILINEAR)
banner_status_img.set_from_pixbuf(scaled_pix)
def draw_banner_text(self):
def draw_banner_text(self):
'''Draw the text in the fat line at the top of the window that
houses the room jid, subject.
'''
@ -739,6 +740,7 @@ class GroupchatControl(ChatControlBase):
gajim.contacts.remove_gc_contact(self.account, gc_contact)
gajim.gc_connected[self.account][self.room_jid] = False
ChatControlBase.got_disconnected(self)
# We don't redraw the whole banner here, because only icon change
self._update_banner_state_image()
def draw_roster(self):