gajim-plural/launch.sh
James Newton c2b901dfe9 Adjusted the menu code in an attempt to make it work better on leopard. Removed
the idle_add wrapper for on_quit and moved the idle_add wrapping into the
sync-menu code instead.
2007-11-16 23:11:35 +00:00

14 lines
458 B
Bash
Executable file

#!/bin/bash
BASE=`pwd`/`dirname $0`
OS=`uname -s`
if [ "x${OS}" == "xDarwin" ]; then
export RESOURCEPATH="${BASE}/dist/Gajim.app/Contents/Resources"
GTK_DIR="/Library/Frameworks/GTK+.framework/Versions/Current"
export PATH="${GTK_DIR}/bin:$PATH"
export PYTHONPATH="${GTK_DIR}/lib/python2.5/site-packages:${GTK_DIR}/lib/python2.5/site-packages/gtk-2.0:${PYTHONPATH}"
unset GTK_DIR
fi
cd ${BASE}/src
exec -a gajim python -OOt gajim.py $@