summaryrefslogtreecommitdiffstats
path: root/gui.py
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 /gui.py
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
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py8
1 files changed, 8 insertions, 0 deletions
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