diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-27 05:43:09 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-27 05:43:09 +0000 |
commit | e18d7d6197414ac6f1d911f48c45ae3ab7d8d7d4 (patch) | |
tree | b5959dcf27dabbfce885ea3247d486d2bd921073 /mouse.py | |
parent | c7500ed7d38d3dfb2b90520a5ea544f4fbdaf514 (diff) | |
download | anaconda-e18d7d6197414ac6f1d911f48c45ae3ab7d8d7d4.tar.gz anaconda-e18d7d6197414ac6f1d911f48c45ae3ab7d8d7d4.tar.xz anaconda-e18d7d6197414ac6f1d911f48c45ae3ab7d8d7d4.zip |
fixup
Diffstat (limited to 'mouse.py')
-rw-r--r-- | mouse.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -127,11 +127,11 @@ class Mouse (SimpleConfigFile): def setDevice(self, device): self.device = device - def set (self, mouse, emulateThreeButtons): + def set (self, mouse, emulateThreeButtons, thedev = None): (gpm, x11, dev, em) = self.mice[mouse] self.info["MOUSETYPE"] = gpm self.info["XMOUSETYPE"] = x11 self.info["FULLNAME"] = mouse self.emulate = emulateThreeButtons - if (not self.device): self.device = dev - + if not self.device and thedev: self.device = thedev + if not self.device: self.device = dev |