diff options
-rw-r--r-- | installclass.py | 1 | ||||
-rw-r--r-- | iw/rootpartition.py | 5 | ||||
-rw-r--r-- | xserver.py | 7 |
3 files changed, 11 insertions, 2 deletions
diff --git a/installclass.py b/installclass.py index 1c80636ec..a5e1879d4 100644 --- a/installclass.py +++ b/installclass.py @@ -189,6 +189,7 @@ class InstallClass: self.partitions = [] self.skipPartitioning = 0 self.clearParts = 0 + self.clearType = None self.clearText = None self.clearPartText = None self.zeroMbr = 0 diff --git a/iw/rootpartition.py b/iw/rootpartition.py index 310d585ca..b2a64a196 100644 --- a/iw/rootpartition.py +++ b/iw/rootpartition.py @@ -101,9 +101,10 @@ class AutoPartitionWindow(InstallWindow): def getScreen (self): from gnomepyfsedit import fsedit + # XXX hack - print self.todo.instClass.clearType - self.ics.readHTML (self.todo.instClass.clearType) + if self.todo.instClass.clearType: + self.ics.readHTML (self.todo.instClass.clearType) todo = self.todo diff --git a/xserver.py b/xserver.py index 4c2d1572a..23dc5251a 100644 --- a/xserver.py +++ b/xserver.py @@ -26,6 +26,13 @@ def startX(): if mouseDev == 'psaux': mouseProtocol = "PS/2" mouseEmulate = 0 + # kickstart some ps/2 mice. Blame the kernel + try: + f = open ('/dev/psaux') + f.write ('1') + f.close + except: + pass else: mouseProtocol = "Microsoft" mouseEmulate = 1 |