diff --git a/src/roster_window.py b/src/roster_window.py index e802fe7b9..74f840aba 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -880,8 +880,6 @@ class Roster_window: self.plugin.windows[account]['chats'][user.jid] = \ self.plugin.windows[account]['chats']['tabbed'] - self.plugin.windows[account]['chats']['tabbed'].window.present() - else: self.plugin.windows[account]['chats'][user.jid] = \ tabbed_chat_window.Tabbed_chat_window(user, self.plugin, account) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 34f492b18..a2fb6c1be 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -54,6 +54,7 @@ class Tabbed_chat_window(chat.Chat): self.on_chat_notebook_key_press_event) self.xml.signal_connect('on_chat_notebook_switch_page', \ self.on_chat_notebook_switch_page) + self.window.show_all() def draw_widgets(self, user): """draw the widgets in a tab (status_image, contact_button ...) @@ -155,6 +156,7 @@ class Tabbed_chat_window(chat.Chat): self.print_time_timeout(user.jid) self.print_time_timeout_id[user.jid] = gobject.timeout_add(300000, \ self.print_time_timeout, user.jid) + self.childs[user.jid].show_all() def on_message_textview_key_press_event(self, widget, event): """When a key is pressed: