summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Smith <gnome@nextreality.net>2006-02-17 00:10:28 +0000
committerBrent Smith <bmsmith@src.gnome.org>2006-02-17 00:10:28 +0000
commit65871771a278625032b67cfcdd603daedb17e51c (patch)
tree1a30754dd44dcb483d800493da7ba142d2cec923
parenta5e2d144440c3859448f9c9f91650ec1beeccfab (diff)
downloadyelp-65871771a278625032b67cfcdd603daedb17e51c.tar.gz
set MOZ_DISABLE_PANGO in the environment to fix broken rendering of
2006-02-16 Brent Smith <gnome@nextreality.net> * src/yelp-main.c: (main): set MOZ_DISABLE_PANGO in the environment to fix broken rendering of certain characters, fixes #329461
-rw-r--r--ChangeLog6
-rw-r--r--src/yelp-main.c10
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 80c4b680..eb95b8c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-16 Brent Smith <gnome@nextreality.net>
+
+ * src/yelp-main.c: (main):
+ set MOZ_DISABLE_PANGO in the environment to fix broken rendering of
+ certain characters, fixes #329461
+
2006-02-16 Don Scorgie <don@Madaline>
* src/yelp-search-pager.c:
diff --git a/src/yelp-main.c b/src/yelp-main.c
index 6f08f3b7..b7d7e55b 100644
--- a/src/yelp-main.c
+++ b/src/yelp-main.c
@@ -440,7 +440,17 @@ main (int argc, char **argv)
if (!factory) { /* Not started, start now */
BonoboGenericFactory *factory;
char *registration_id;
+ const gchar *env;
+ /* workaround for bug #329461 */
+ env = g_getenv ("MOZ_ENABLE_PANGO");
+
+ if (env == NULL ||
+ *env == '\0' ||
+ g_str_equal(env, "0"))
+ {
+ g_setenv ("MOZ_DISABLE_PANGO", "1", TRUE);
+ }
registration_id = bonobo_activation_make_registration_id (
YELP_FACTORY_OAFIID,