Coming out of some of the rhpxl de-kudzu discussions, this patchset gets rid
of even more of the pesky mouse infestation.
Bill
diff --git a/anaconda b/anaconda
index d844036..295a3ef 100755
--- a/anaconda
+++ b/anaconda
@@ -453,8 +453,7 @@ def probeHW(opts, x_already_set, xserver):
# Probe what is available for X and setup a hardware state
#
# try to probe interesting hw
- skipmouseprobe = not (not os.environ.has_key('DISPLAY') or flags.setupFilesystems)
- xserver.probeHW(skipMouseProbe=skipmouseprobe, forceDriver=opts.xdriver)
+ xserver.probeHW(forceDriver=opts.xdriver)
# if the len(videocards) is zero, then let's assume we're isHeadless
if len(xserver.videohw.videocards) == 0:
@@ -940,9 +939,6 @@ if __name__ == "__main__":
anaconda.id.x_already_set = x_already_set
if xserver:
- if xserver.mousehw:
- anaconda.id.setMouse(xserver.mousehw)
-
if xserver.videohw:
anaconda.id.setVideoCard(xserver.videohw)
- def setMouse(self, id, mouseType, device = None, emulThree = -1):
- import rhpxl.mouse as mouse
-
- # blindly trust what we're told
- mouse = mouse.Mouse(skipProbe = 1)
- mouseName = mouse.mouseToMouse()[mouseType]
- mouse.set(mouseName, emulThree, device)
- id.setMouse(mouse)
-
def getBackend(self, methodstr):
# this should be overriden in distro install classes
from backend import AnacondaBackend
@@ -463,7 +454,6 @@ class BaseInstallClass(object):
#id.setAuthentication()
#id.setHostname()
#id.setDesktop()
- #id.setMouse()
# These are callbacks used to let classes configure packages
#id.setPackageSelection()
diff --git a/instdata.py b/instdata.py
index 32c5124..d66757f 100644
--- a/instdata.py
+++ b/instdata.py
@@ -58,7 +58,6 @@ class InstallData:
def reset(self):
# Reset everything except:
#
- # - The mouse
# - The install language
# - The keyboard
On Thu, 2008-03-27 at 09:48 -0400, Bill Nottingham wrote:
> Coming out of some of the rhpxl de-kudzu discussions, this patchset gets rid
> of even more of the pesky mouse infestation.
I hestitate to fully remove rhpl.mouse as there could be other things
depending on it. And the failure mode for things depending on python is
"traceback"
Jeremy
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
03-27-2008, 04:46 PM
Jeremy Katz
further mouse extermination
On Thu, 2008-03-27 at 13:45 -0400, Jeremy Katz wrote:
> On Thu, 2008-03-27 at 09:48 -0400, Bill Nottingham wrote:
> > Coming out of some of the rhpxl de-kudzu discussions, this patchset gets rid
> > of even more of the pesky mouse infestation.
>
> I hestitate to fully remove rhpl.mouse as there could be other things
> depending on it. And the failure mode for things depending on python is
> "traceback"
The anaconda piece looks good, though. Feel free to commit it
Jeremy
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
03-27-2008, 05:01 PM
Bill Nottingham
further mouse extermination
Jeremy Katz (katzj@redhat.com) said:
> On Thu, 2008-03-27 at 09:48 -0400, Bill Nottingham wrote:
> > Coming out of some of the rhpxl de-kudzu discussions, this patchset gets rid
> > of even more of the pesky mouse infestation.
>
> I hestitate to fully remove rhpl.mouse as there could be other things
> depending on it. And the failure mode for things depending on python is
> "traceback"
Is anything that depends on it likely to function properly anyway?
Bill
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list