Fix TB introduced in [9400] if using minimized muc
This commit is contained in:
parent
ff32d0ccb3
commit
ccb23a9e0c
|
@ -845,7 +845,8 @@ class GroupchatControl(ChatControlBase):
|
|||
ChatControlBase.got_connected(self)
|
||||
# We don't redraw the whole banner here, because only icon change
|
||||
self._update_banner_state_image()
|
||||
self.parent_win.redraw_tab(self)
|
||||
if self.parent_win:
|
||||
self.parent_win.redraw_tab(self)
|
||||
|
||||
def got_disconnected(self):
|
||||
self.list_treeview.get_model().clear()
|
||||
|
@ -867,7 +868,8 @@ class GroupchatControl(ChatControlBase):
|
|||
ChatControlBase.got_disconnected(self)
|
||||
# We don't redraw the whole banner here, because only icon change
|
||||
self._update_banner_state_image()
|
||||
self.parent_win.redraw_tab(self)
|
||||
if self.parent_win:
|
||||
self.parent_win.redraw_tab(self)
|
||||
|
||||
def draw_roster(self):
|
||||
self.list_treeview.get_model().clear()
|
||||
|
|
Loading…
Reference in New Issue