summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-21 17:09:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-21 17:09:31 +0000
commit6815c3cb1c8d44fbb19d2e0b34323e2ac728e37c (patch)
treea98e933c5b518f7ce62d5ffde2cd568d26cdddad /perl-install
parent6c68aa327f77b42c3626d831a87acff47ac41456 (diff)
downloaddrakx-6815c3cb1c8d44fbb19d2e0b34323e2ac728e37c.tar
drakx-6815c3cb1c8d44fbb19d2e0b34323e2ac728e37c.tar.gz
drakx-6815c3cb1c8d44fbb19d2e0b34323e2ac728e37c.tar.bz2
drakx-6815c3cb1c8d44fbb19d2e0b34323e2ac728e37c.tar.xz
drakx-6815c3cb1c8d44fbb19d2e0b34323e2ac728e37c.zip
only access $::o->{mouse}{unsafe} during install
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 4e251bd10..2c51de4f2 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -945,7 +945,7 @@ sub _create_window($$) {
$w->signal_connect(delete_event => sub { if ($::isWizard) { $w->destroy; die 'wizcancel' } else { Gtk2->main_quit } });
$w->set_uposition(@{$force_position || $o->{force_position}}) if $force_position || $o->{force_position};
- if ($::o->{mouse}{unsafe}) {
+ if ($::isInstall && $::o->{mouse}{unsafe}) {
$w->add_events('pointer-motion-mask');
my $signal; #- don't make this line part of next one, signal_disconnect won't be able to access $signal value
$signal = $w->signal_connect(motion_notify_event => sub {