Add code to activate tab, disabled since it freeze for now

This commit is contained in:
Marco Pesenti Gritti 2006-04-21 13:14:40 -04:00
parent 0deeb0a1e7
commit a77e678a55

View File

@ -59,7 +59,10 @@ class ActivityHost(dbus.service.Object):
hbox.pack_start(self.tab_label) hbox.pack_start(self.tab_label)
hbox.pack_start(self.tab_close_button) hbox.pack_start(self.tab_close_button)
hbox.show() 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): def tab_close_button_clicked(self, button):
self.peer_service.close_from_user() self.peer_service.close_from_user()