From 27c25b876d038fd29157b570ac5d2b9b6a3311f2 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 1 Feb 2014 13:11:15 -0800 Subject: [PATCH] Don't load quartz input module on OSX 10.5 --- mac/gramps.launcher | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"