From a77e678a556c9f6920821e9dd85453094a203b65 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 21 Apr 2006 13:14:40 -0400 Subject: [PATCH] Add code to activate tab, disabled since it freeze for now --- shell/src/shell.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell/src/shell.py b/shell/src/shell.py index 236efdb0..f1c45dcf 100755 --- a/shell/src/shell.py +++ b/shell/src/shell.py @@ -59,7 +59,10 @@ class ActivityHost(dbus.service.Object): hbox.pack_start(self.tab_label) hbox.pack_start(self.tab_close_button) hbox.show() - self.activity_container.notebook.append_page(self.socket, hbox) + + notebook = self.activity_container.notebook + index = notebook.append_page(self.socket, hbox) + #notebook.set_current_page(index) def tab_close_button_clicked(self, button): self.peer_service.close_from_user()