summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-02 17:04:58 +0000
committerMatt Wilson <msw@redhat.com>2000-02-02 17:04:58 +0000
commit70f8a31102916f99d4fa13323c242a740254239f (patch)
treec20fc74a440a082f2f9f137de61681f58b5900db /xf86config.py
parentb8b78f34e4cebdb28589a75ed06dd5cfb6acb9fd (diff)
downloadanaconda-70f8a31102916f99d4fa13323c242a740254239f.tar.gz
anaconda-70f8a31102916f99d4fa13323c242a740254239f.tar.xz
anaconda-70f8a31102916f99d4fa13323c242a740254239f.zip
select card in gui xconfig
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xf86config.py b/xf86config.py
index 31d65bd3c..df10fbeec 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -163,7 +163,8 @@ class XF86Config:
self.monVert = vrange
def setVidcard (self, card):
- self.vidCards.append (card)
+ self.vidCards = [card]
+ self.primary = 0
if self.vidCards:
self.devID = self.vidCards[self.primary]["NAME"]