Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbrowser/browser.py3
-rwxr-xr-xsetup-run-from-source.sh4
-rwxr-xr-xshell/src/shell.py3
3 files changed, 10 insertions, 0 deletions
diff --git a/browser/browser.py b/browser/browser.py
index 1b19c79..8df2695 100755
--- a/browser/browser.py
+++ b/browser/browser.py
@@ -264,3 +264,6 @@ def main():
gtk.main()
except KeyboardInterrupt:
pass
+
+if __name__=="__main__":
+ main()
diff --git a/setup-run-from-source.sh b/setup-run-from-source.sh
new file mode 100755
index 0000000..40a1050
--- /dev/null
+++ b/setup-run-from-source.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# for activity.py
+export PYTHON_PATH=`pwd`/shell/src/
diff --git a/shell/src/shell.py b/shell/src/shell.py
index 5ce526e..880c9c8 100755
--- a/shell/src/shell.py
+++ b/shell/src/shell.py
@@ -300,3 +300,6 @@ def main():
gtk.main()
except KeyboardInterrupt:
pass
+
+if __name__=="__main__":
+ main()