summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-18 09:57:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-18 09:57:05 +0000
commit8e547d2d04e3575bf83f7f3bb417c0995cf659ad (patch)
tree99c4b901b164e207c7b0ae31c3410299768b74dc
parent3233f7f85c0a595e8823f3b0724a674673e963f2 (diff)
downloaddrakx-8e547d2d04e3575bf83f7f3bb417c0995cf659ad.tar
drakx-8e547d2d04e3575bf83f7f3bb417c0995cf659ad.tar.gz
drakx-8e547d2d04e3575bf83f7f3bb417c0995cf659ad.tar.bz2
drakx-8e547d2d04e3575bf83f7f3bb417c0995cf659ad.tar.xz
drakx-8e547d2d04e3575bf83f7f3bb417c0995cf659ad.zip
fix blino sucks
-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 ab7b59bd4..9c6df5f0f 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -979,7 +979,7 @@ sub new {
my $d = ${{ $Gtk2::Gdk::Keysyms{F2} => 'screenshot', $Gtk2::Gdk::Keysyms{Delete} => 'restart' }}{$event->keyval};
if ($d eq 'screenshot') {
common::take_screenshot();
- } elsif ($d eq 'restart' && $event->state >= ['control-mask', 'mod1-mask']) {
+ } elsif ($d eq 'restart' && member('control-mask', @{$event->state}) && member('mod1-mask', @{$event->state})) {
log::l("restarting install");
$o->exit(0x35);
}