diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-24 12:38:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-24 12:38:10 +0000 |
commit | 1e742db130182eea4c40fad78845f752620374da (patch) | |
tree | 4fb8b427bedf1487849762c09337d6bba39cf7f3 /tools/mousedrake | |
parent | f9b12148abe8b4d345943366fec19336c700a773 (diff) | |
download | drakx-kbd-mouse-x11-1e742db130182eea4c40fad78845f752620374da.tar drakx-kbd-mouse-x11-1e742db130182eea4c40fad78845f752620374da.tar.gz drakx-kbd-mouse-x11-1e742db130182eea4c40fad78845f752620374da.tar.bz2 drakx-kbd-mouse-x11-1e742db130182eea4c40fad78845f752620374da.tar.xz drakx-kbd-mouse-x11-1e742db130182eea4c40fad78845f752620374da.zip |
- mousedrake:
o do not use /dev/mouse symlink (in xorg.conf)
o do not propose to test the chosen mice
(it doesn't handle evdev/synaptics and so is quite obsolete nowadays)
Diffstat (limited to 'tools/mousedrake')
-rwxr-xr-x | tools/mousedrake | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/mousedrake b/tools/mousedrake index 0531372..dee1592 100755 --- a/tools/mousedrake +++ b/tools/mousedrake @@ -35,22 +35,6 @@ if (!$mouse || !$::auto) { mouse::write_conf($in->do_pkgs, $modules_conf, $mouse, 1); -if ($in->isa('interactive::gtk') && mouse::change_mouse_live($mouse, \%old)) { - - require ugtk2; - ugtk2->import(qw(:wrappers :create)); - require mygtk2; - mygtk2->import(qw(gtknew)); - my $w = ugtk2->new(N("Mouse test")); - gtkadd($w->{window}, - gtknew('VBox', spacing => 5, children_loose => [ - gtknew('Label', text => N("Please test your mouse:")), - my $test_hbox = gtknew('HBox', spacing => 5), - $w->create_okcancel])); - mouse::test_mouse_standalone($mouse, $test_hbox); - $w->main or goto begin; -} - system('service', 'gpm', 'restart') if -e '/var/lock/subsys/gpm'; $in->exit(0); |