Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/src/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/src/shell.py')
-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()