From 1e742db130182eea4c40fad78845f752620374da Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 24 Oct 2008 12:38:10 +0000 Subject: - 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) --- tools/mousedrake | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'tools') 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); -- cgit v1.2.1