diff --git a/mac/gramps.launcher b/mac/gramps.launcher index 47bca2695..55010a553 100755 --- a/mac/gramps.launcher +++ b/mac/gramps.launcher @@ -24,7 +24,9 @@ export PANGO_RC_FILE="$bundle_etc/pango/pangorc" export PANGO_SYSCONFDIR="$bundle_etc" export PANGO_LIBDIR="$bundle_lib" export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-2.0/gdk-pixbuf.loaders" -export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules" +if [ `uname -r | cut -d . -f 1` -ge 10 ]; then + export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules" +fi export GTK2_RC_FILES="$bundle_etc/gtk-2.0/gtkrc" export GVBINDIR="$bundle_lib/graphviz"