summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-05 14:29:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-05 14:29:16 +0000
commit31de738c99ce16ee26595d7bf2d6e9500a5a10b1 (patch)
tree30cb27258fcac641440869517e35e28f29177eb1 /perl-install/install_steps_gtk.pm
parentf093421759947c0e1020139c8b0bdb057105c074 (diff)
downloaddrakx-backup-do-not-use-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar
drakx-backup-do-not-use-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.gz
drakx-backup-do-not-use-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.bz2
drakx-backup-do-not-use-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.xz
drakx-backup-do-not-use-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index e1b00d381..e3116ddac 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -184,9 +184,10 @@ sub selectInstallClass1 {
#------------------------------------------------------------------------------
sub selectMouse {
my ($o, $force) = @_;
+ my $old = $o->{mouse}{XMOUSETYPE};
$o->SUPER::selectMouse($force);
- if (!$::testing) {
+ if ($old ne $o->{mouse}{XMOUSETYPE} && !$::testing) {
log::l("telling X server to use another mouse");
eval { commands::modprobe("serial") } if $o->{mouse}{device} =~ /ttyS/;
symlinkf($o->{mouse}{device}, "/dev/mouse");
@@ -763,10 +764,7 @@ sub create_steps_window {
$w->show;
my @steps_icons = map { [ gtkcreate_xpm($w->{window}, "$ENV{SHARE_PATH}/step-$_.xpm") ] } qw(green orange red);
-
my $style = Gtk::Widget->get_default_style->copy;
- print $style->fg('normal');
- print $style->white;
gtkadd($w->{window},
gtkpack_(new Gtk::VBox(0,0),