summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-04-22 14:03:16 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-04-22 14:03:16 +0200
commit8a57968aa71be27cb69b8fae9e827b7069fce54d (patch)
tree97906051a81747f79c7253aef7c4427f8f3d3c5e
parent1e16814fc30c777a54f60733b0fb492c00bf0126 (diff)
Adjust to recent pango changes
We need to set PANGO_LIBDIR and PANGO_SYSCONFDIR for pango to find its modules from a bundle. Without that, it will warn at startup that it can't find its modules, and fonts will be replaced by empty squares.
-rwxr-xr-xbundle/remote-viewer.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundle/remote-viewer.sh b/bundle/remote-viewer.sh
index d92f9e5..b7ddc60 100755
--- a/bundle/remote-viewer.sh
+++ b/bundle/remote-viewer.sh
@@ -32,7 +32,9 @@ export GTK_PATH="$bundle_res"
export GTK2_RC_FILES="$bundle_etc/gtk-2.0/gtkrc"
export GTK_IM_MODULE_FILE="$bundle_etc/gtk-2.0/gtk.immodules"
export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-2.0/gdk-pixbuf.loaders"
-export PANGO_RC_FILE="$bundle_etc/pango/pangorc"
+export PANGO_LIBDIR="$bundle_lib"
+export PANGO_SYSCONFDIR="$bundle_etc"
+
APP=name
I18NDIR="$bundle_data/locale"