summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-14 20:51:41 +0000
committerMike Fulbright <msf@redhat.com>2002-06-14 20:51:41 +0000
commit1a50ad58eb03759061434b78db6b57853b92b2cb (patch)
treebbee739f50b2bcb26e6ef431cada6d4b9c5dd2f7 /textw
parentcfa09f12a810de3eb35e16136008f98d6801f2f3 (diff)
downloadanaconda-1a50ad58eb03759061434b78db6b57853b92b2cb.tar.gz
anaconda-1a50ad58eb03759061434b78db6b57853b92b2cb.tar.xz
anaconda-1a50ad58eb03759061434b78db6b57853b92b2cb.zip
hp@redhat.com made me do this
Diffstat (limited to 'textw')
-rw-r--r--textw/xconfig_text.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/textw/xconfig_text.py b/textw/xconfig_text.py
index b45752148..25571fa9c 100644
--- a/textw/xconfig_text.py
+++ b/textw/xconfig_text.py
@@ -19,9 +19,12 @@ from rhpl.translate import _
from rhpl.monitor import isValidSyncRange
from rhpl.videocard import Videocard_blacklist
+from desktop import ENABLE_DESKTOP_CHOICE
+
ddc_monitor_string = _("DDC Probed Monitor")
unprobed_monitor_string = _("Unprobed Monitor")
+
class XCustomWindow:
def depthchangeCB(self, screen):
@@ -201,7 +204,7 @@ class XCustomWindow:
customgrid.setField (reschangebutton, 2, 1, (0, 0, 0, 1),
anchorLeft = 1)
- if gnomeSelected or kdeSelected:
+ if (ENABLE_DESKTOP_CHOICE) and (gnomeSelected or kdeSelected):
desktopgrid = Grid(3,2)
label = Label(_("Default Desktop:"))
desktopgrid.setField(label, 0, 1, (0, 0, 0, 1), anchorLeft = 1)