diff --git a/browser/browser.py b/browser/browser.py index 1b19c792..8df26952 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 00000000..40a10508 --- /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 5ce526e3..880c9c8b 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()