Use show_all on the notebook and not the window when a new tab is added.
For example, if the roster is hidden in single UI mode and a new chat arrived the roster would unhide.
This commit is contained in:
parent
4bd76ef2ff
commit
1a7b1672a7
|
@ -238,7 +238,7 @@ class MessageWindow(object):
|
||||||
self.setup_tab_dnd(control.widget)
|
self.setup_tab_dnd(control.widget)
|
||||||
|
|
||||||
self.redraw_tab(control)
|
self.redraw_tab(control)
|
||||||
self.window.show_all()
|
self.notebook.show_all()
|
||||||
# NOTE: we do not call set_control_active(True) since we don't know whether
|
# NOTE: we do not call set_control_active(True) since we don't know whether
|
||||||
# the tab is the active one.
|
# the tab is the active one.
|
||||||
self.show_title()
|
self.show_title()
|
||||||
|
|
Loading…
Reference in New Issue