diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-06 11:55:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-06 11:55:38 +0000 |
commit | 9bdd8bd507eeb21268a974e4c979cd34fe770b03 (patch) | |
tree | 5ca845865db5350f1460505b2855bb419f1b59f0 /perl-install/my_gtk.pm | |
parent | 38c93685494c0ace5fce6ab92fb52176ed9cf872 (diff) | |
download | drakx-9bdd8bd507eeb21268a974e4c979cd34fe770b03.tar drakx-9bdd8bd507eeb21268a974e4c979cd34fe770b03.tar.gz drakx-9bdd8bd507eeb21268a974e4c979cd34fe770b03.tar.bz2 drakx-9bdd8bd507eeb21268a974e4c979cd34fe770b03.tar.xz drakx-9bdd8bd507eeb21268a974e4c979cd34fe770b03.zip |
make perl_checker happy
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index 458164a8f..28abc7ceb 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -279,7 +279,7 @@ sub ask_warn { my $w = my_gtk->new(shift @_); $w->_ask_warn(@_); main($w) sub ask_yesorno { my $w = my_gtk->new(shift @_); $w->_ask_okcancel(@_, _("Yes"), _("No")); main($w) } sub ask_okcancel { my $w = my_gtk->new(shift @_); $w->_ask_okcancel(@_, _("Is this correct?"), _("Ok"), _("Cancel")); main($w) } sub ask_from_entry { my $w = my_gtk->new(shift @_); $w->_ask_from_entry(@_); main($w) } -sub ask_dir { my $w = my_gtk->new(shift @_); $w->_ask_dir(@_); main($w); } +sub ask_dir { my $w = my_gtk->new(shift @_); $w->_ask_dir(@_); main($w) } sub _ask_from_entry($$@) { my ($o, @msgs) = @_; @@ -496,7 +496,7 @@ sub ask_browse_tree_info_given_widgets { @{$ptree{$_}} = difference2($ptree{$_}, \@to_remove); } if (exists $wtree{$cat}) { - delete $wtree{$cat}->{$_} foreach qw(state state_stats); + delete $wtree{$cat}{$_} foreach qw(state state_stats); $w->{tree}->remove_node($wtree{$cat}); delete $wtree{$cat}; } |