diff options
author | Dan Williams <dcbw@redhat.com> | 2006-04-27 17:54:18 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2006-04-27 17:54:18 (GMT) |
commit | 73ac3be1e694393676152ddb3f6568a12504d264 (patch) | |
tree | 185c394823a6b9aa8830c8016251b18015040a92 | |
parent | c4781fe8e31b33e3721b6bd864faf1d4feffaef1 (diff) |
Add the setup-run-from-source.sh script (doesn't work yet) and allow to run the cactivities from the shell.
-rwxr-xr-x | browser/browser.py | 3 | ||||
-rwxr-xr-x | setup-run-from-source.sh | 4 | ||||
-rwxr-xr-x | shell/src/shell.py | 3 |
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() |