Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2006-04-26 22:03:54 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2006-04-26 22:03:54 (GMT)
commit9bd898a5b2b1a1ea00e392e93e1c040640d77277 (patch)
treec636e9f1a3a65e761eb91e3df18b7edc58c8d88a /shell
parent2b57bcfd614daaa671509602cce1c28a58d7491f (diff)
Merge browser README in the root one
Diffstat (limited to 'shell')
-rwxr-xr-xshell/src/shell.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/src/shell.py b/shell/src/shell.py
index 8830344..3c0584e 100755
--- a/shell/src/shell.py
+++ b/shell/src/shell.py
@@ -239,6 +239,7 @@ class ActivityContainer(dbus.service.Object):
def notebook_tab_changed(self, notebook, page, page_number):
print "in notebook_tab_changed"
+ print notebook.get_nth_page(page_number)
new_activity = notebook.get_nth_page(page_number).get_data("sugar-activity")
print " Current activity: ", self.current_activity
print " New activity: ", new_activity
@@ -295,7 +296,4 @@ def main():
activityContainer = ActivityContainer(service, session_bus)
- try:
- gtk.main()
- except KeyboardInterrupt:
- pass
+ gtk.main()