Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
Diffstat (limited to 'sugar')
-rwxr-xr-xsugar/shell/shell.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sugar/shell/shell.py b/sugar/shell/shell.py
index 04d2fa0..fae10f8 100755
--- a/sugar/shell/shell.py
+++ b/sugar/shell/shell.py
@@ -363,10 +363,10 @@ def main():
presence_window.show()
console.set_parent_window(activity_container.window)
+
+if __name__ == "__main__":
+ main()
try:
gtk.main()
except KeyboardInterrupt:
pass
-
-if __name__ == "__main__":
- main()