diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-04-21 17:14:40 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-04-21 17:14:40 (GMT) |
commit | a77e678a556c9f6920821e9dd85453094a203b65 (patch) | |
tree | aa37121089020cf65fdcf65ca2ef0de1233511ed /shell | |
parent | 0deeb0a1e7079576025ae20a32e750e9e0ab8361 (diff) |
Add code to activate tab, disabled since it freeze for now
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/src/shell.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/src/shell.py b/shell/src/shell.py index 236efdb..f1c45dc 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() |