summaryrefslogtreecommitdiff
path: root/libnautilus-extensions
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-04-30 22:56:55 +0000
committerDarin Adler <darin@src.gnome.org>2001-04-30 22:56:55 +0000
commita7e19a3e59abdc0a34a834b4ce35c18cd5bace98 (patch)
tree3fe9f017b89d1083a719f756eaf563a2a000fa81 /libnautilus-extensions
parent1c754d7890943de9b15fb7470fe7a2618624546d (diff)
downloadnautilus-a7e19a3e59abdc0a34a834b4ce35c18cd5bace98.tar.gz
Worked on bug 8206 (xalf problems):
* libnautilus-extensions/nautilus-program-choosing.c: (get_xalf_prefix): Don't use xalf unless a NAUTILUS_USE_XALF environment variable is defined. * NEWS: Updated with the features added since last time I edited the NEWS file. Since we are mostly doing bug fixes, there aren't too many.
Diffstat (limited to 'libnautilus-extensions')
-rw-r--r--libnautilus-extensions/nautilus-program-choosing.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libnautilus-extensions/nautilus-program-choosing.c b/libnautilus-extensions/nautilus-program-choosing.c
index 92f67b6af..c4c9e22b8 100644
--- a/libnautilus-extensions/nautilus-program-choosing.c
+++ b/libnautilus-extensions/nautilus-program-choosing.c
@@ -604,6 +604,17 @@ get_xalf_prefix (const char *name)
char *quoted;
char *prefix;
+ /* FIXME bugzilla.eazel.com 8206: At time I am writing this,
+ * xalf is still pretty buggy, and Nautilus uses it a lot more
+ * than the Panel does with no way to turn it off for
+ * individual programs the way you can in the Panel. Sadly,
+ * Ximian GNOME 1.4 ships with xalf on by default. So we did
+ * this lame thing and turned it off unless you define this
+ * environment variable. Some day we can remove this.
+ */
+ if (g_getenv ("NAUTILUS_USE_XALF") == NULL) {
+ return g_strdup ("");
+ }
if (!gnome_config_get_bool ("/xalf/settings/enabled=true")) {
return g_strdup ("");
}