summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-12-21 16:36:08 +0000
committerJeremy Katz <katzj@redhat.com>2005-12-21 16:36:08 +0000
commit2121ebf882c045c45d31327d7be5b7498554d390 (patch)
treeb5acffd3270c88ba4c8ff6bf84fb4430689af981
parent0ead75c460cccbd85d24b8766db776b7a63ca7ee (diff)
downloadanaconda-2121ebf882c045c45d31327d7be5b7498554d390.tar.gz
anaconda-2121ebf882c045c45d31327d7be5b7498554d390.tar.xz
anaconda-2121ebf882c045c45d31327d7be5b7498554d390.zip
2005-12-21 Jeremy Katz <katzj@redhat.com>
* gui.py: Need the a11y stuff here now
-rw-r--r--ChangeLog4
-rwxr-xr-xgui.py8
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f8389d77..4fe8ffa61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-21 Jeremy Katz <katzj@redhat.com>
+
+ * gui.py: Need the a11y stuff here now
+
2005-12-20 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version.
diff --git a/gui.py b/gui.py
index aea6f95cc..49f3f74fb 100755
--- a/gui.py
+++ b/gui.py
@@ -15,6 +15,14 @@
#
import os
+os.environ["PYGTK_DISABLE_THREADS"] = "1"
+os.environ["GNOME_DISABLE_CRASH_DIALOG"] = "1"
+
+# we only want to enable the accessibility stuff if requested for now...
+buf = open("/proc/cmdline").read()
+if buf.find("dogtail") != -1:
+ os.environ["GTK_MODULES"] = "gail:atk-bridge"
+
import errno
import iutil
import string