]>
Commit | Line | Data |
---|---|---|
b4f366c0 JB |
1 | --- hatari-1.5.0/python-ui/hatariui.orig 2011-07-19 00:32:26.000000000 +0200 |
2 | +++ hatari-1.5.0/python-ui/hatariui 2011-07-23 10:05:56.946083979 +0200 | |
3 | @@ -6,7 +6,7 @@ | |
4 | path=${0%/*} | |
52a099b4 | 5 | name=${0##*/} |
6 | ||
b4f366c0 JB |
7 | -if [ ! -e $path/$name.py ]; then |
8 | +if [ ! -e $path/$name.pyc ]; then | |
9 | # Assume package has been relocated, try relative data directory: | |
10 | path=${0%/*}/../share/hatari/hatariui | |
11 | fi | |
12 | @@ -20,18 +20,18 @@ | |
13 | export HATARI_SYSTEM_CONFDIR=$conf | |
14 | ||
52a099b4 | 15 | # example setup for Hatari UI |
16 | -$path/$name.py --right "about,|,run,pause,forward,|,reset,|,quit" --embed $* | |
b4f366c0 | 17 | +python $path/$name.pyc --right "about,|,run,pause,forward,|,reset,|,quit" --embed $* |
52a099b4 | 18 | exit 0 |
19 | ||
20 | # test setup without embedding, dupplicate toggles | |
21 | -$path/$name.py --top "about,run,pause,quit" \ | |
b4f366c0 | 22 | +python $path/$name.pyc --top "about,run,pause,quit" \ |
52a099b4 | 23 | --panel "Testpanel,pause,>,close" \ |
b4f366c0 | 24 | --bottom "sound,|,forward,pause,|,Testpanel" \ |
52a099b4 | 25 | $* |
26 | exit 0 | |
27 | ||
28 | # test setup with embedding and all available controls | |
29 | -$path/$name.py --embed \ | |
b4f366c0 | 30 | +python $path/$name.pyc --embed \ |
52a099b4 | 31 | --top "about,|,run,pause,|,reset,debug,|,quit" \ |
32 | --left "run,pause,reset,machine,about" \ | |
33 | --panel "Keys,F1=59,F2=60,F3=61,F4=62,F5=63,F6=64,F7=65,F8=66,F9=67,F10=68,>,Macro=Test,Undo=97,Help=98,Enter=114,>,close" \ |