diff options
Diffstat (limited to 'textw')
-rw-r--r-- | textw/xconfig_text.py | 5 |
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) |