summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-31 00:08:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-31 00:08:34 +0000
commit3274c8723d495a7974cb360720abc88ba5a78a67 (patch)
tree19d1c960f478857633705f21fb39cc1d06f32a2c /perl-install/install_gtk.pm
parent26977564bb8eb4076b93e4cd25e95b44a67076ab (diff)
downloaddrakx-backup-do-not-use-3274c8723d495a7974cb360720abc88ba5a78a67.tar
drakx-backup-do-not-use-3274c8723d495a7974cb360720abc88ba5a78a67.tar.gz
drakx-backup-do-not-use-3274c8723d495a7974cb360720abc88ba5a78a67.tar.bz2
drakx-backup-do-not-use-3274c8723d495a7974cb360720abc88ba5a78a67.tar.xz
drakx-backup-do-not-use-3274c8723d495a7974cb360720abc88ba5a78a67.zip
make new perl_checker happy (and that's not easy!)
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 74ac6459c..b50e7d494 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -133,7 +133,7 @@ sub create_steps_window {
gtkadd($w->{window},
gtkpack_(new Gtk::VBox(0,0),
- (map {; 1, $_ } map {
+ (map { (1, $_) } map {
my $step_name = $_;
my $step = $o->{steps}{$_};
my $darea = new Gtk::DrawingArea;
@@ -144,7 +144,7 @@ sub create_steps_window {
$map, 0, 0,
($darea->allocation->[2]-$PIX_W)/2 + 3,
($darea->allocation->[3]-$PIX_H)/2,
- $PIX_W , $PIX_H );
+ $PIX_W , $PIX_H);
};
my $f = sub {
@@ -156,9 +156,9 @@ sub create_steps_window {
$darea->set_events(['exposure_mask', 'enter_notify_mask', 'leave_notify_mask', 'button_press_mask', 'button_release_mask' ]);
$darea->signal_connect(expose_event => sub { $draw_pix->($f->('')) });
if ($step->{reachable}) {
- $darea->signal_connect(enter_notify_event => sub { $in_button=1; $draw_pix->($f->('-on')); });
- $darea->signal_connect(leave_notify_event => sub { undef $in_button; $draw_pix->($f->('')); });
- $darea->signal_connect(button_press_event => sub { $draw_pix->($f->('-click')); });
+ $darea->signal_connect(enter_notify_event => sub { $in_button=1; $draw_pix->($f->('-on')) });
+ $darea->signal_connect(leave_notify_event => sub { undef $in_button; $draw_pix->($f->('')) });
+ $darea->signal_connect(button_press_event => sub { $draw_pix->($f->('-click')) });
$darea->signal_connect(button_release_event => sub { $in_button && die "setstep $step_name\n" });
}
gtkpack_(new Gtk::HBox(0,5), 0, $darea, 0, new Gtk::Label(translate($step->{text})));