diff options
author | Erik Troan <ewt@redhat.com> | 2000-10-04 18:53:59 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-10-04 18:53:59 +0000 |
commit | c4ac6f67417b36ea6a93de7817598cea1d7948e7 (patch) | |
tree | d42515478cfa8a31c6093952120f05b3aa09dd4d /xf86config.py | |
parent | 4b64f6c867e6ef7bc4b2ba851f9ee1347d3c77de (diff) | |
download | anaconda-c4ac6f67417b36ea6a93de7817598cea1d7948e7.tar.gz anaconda-c4ac6f67417b36ea6a93de7817598cea1d7948e7.tar.xz anaconda-c4ac6f67417b36ea6a93de7817598cea1d7948e7.zip |
enableVariant and enableOptions changes from 7.0j tree
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/xf86config.py b/xf86config.py index f987ea272..590292869 100644 --- a/xf86config.py +++ b/xf86config.py @@ -127,9 +127,9 @@ Section "Keyboard" # XkbOptions "ctrl:nocaps" XkbRules "%(XkbRules)s" XkbModel "%(XkbModel)s" - XkbLayout "%(XkbLayout)s" - XkbVariant "%(XkbVariant)s" - XkbOptions "%(XkbOptions)s" + XkbLayout "%(XkbLayout)s" + %(enableVariant)sXkbVariant "%(XkbVariant)s" + %(enableOptions)sXkbOptions "%(XkbOptions)s" EndSection # ********************************************************************** @@ -481,8 +481,8 @@ Section "InputDevice" Option "XkbRules" "%(XkbRules)s" Option "XkbModel" "%(XkbModel)s" Option "XkbLayout" "%(XkbLayout)s" - Option "XkbVariant" "%(XkbVariant)s" - Option "XkbOptions" "%(XkbOptions)s" + %(enableVariant)sOption "XkbVariant" "%(XkbVariant)s" + %(enableOptions)sOption "XkbOptions" "%(XkbOptions)s" EndSection Section "InputDevice" @@ -1078,13 +1078,19 @@ Section "Screen" "XkbModel" : self.keyModel, "XkbLayout" : self.keyLayout, "XkbVariant" : self.keyVariant, + "enableVariant" : "#", "XkbOptions" : self.keyOptions, + "enableOptions" : "#", "monitorID" : self.monID, "monitorHoriz" : self.monHoriz, "monitorVert" : self.monVert, "fbProbedMonitor" : self.monSect, "files" : self.files, } + if self.keyVariant: + info["enableVariant"] = "" + if self.keyOptions: + info["enableOptions"] = "" if self.mouse.get()[1]: info["emulate3"] = " Emulate3Buttons\n Emulate3Timeout 50" else: @@ -1154,13 +1160,19 @@ Section "Screen" "XkbModel" : self.keyModel, "XkbLayout" : self.keyLayout, "XkbVariant" : self.keyVariant, + "enableVariant": "#", "XkbOptions" : self.keyOptions, + "enableOptions": "#", "defaultDepth" : "", "emulate3" : emulate3, "videoRam" : "" } # self.vidCards[self.primary]["DRIVER"] = "vga" # see if 16 bpp is available, and if it should be the # default depth + if self.keyVariant: + info["enableVariant"] = "" + if self.keyOptions: + info["enableOptions"] = "" if maxdepth > 0: if maxdepth > 16 and '16' in self.modes.keys() and self.modes['16']: data["defaultDepth"] = "\n\tDefaultDepth\t16" |