diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-12 11:26:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-12 11:26:15 +0000 |
commit | ab822df75cf6884051525b61dd3e21f2254994b4 (patch) | |
tree | b7bdbb354bc01089ab9f410885e2d81fdb673f3f /perl-install/interactive/gtk.pm | |
parent | 9836f3fe7d2fef5e86015234ebb223afe7ddb844 (diff) | |
download | drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.gz drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.bz2 drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.xz drakx-ab822df75cf6884051525b61dd3e21f2254994b4.zip |
perl_checker compliance ("ref" now need parentheses in many case)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 935e8372a..cc065ec01 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -648,7 +648,7 @@ sub ask_fromW { my $widget_to_focus = $common->{focus_cancel} ? $mainw->{cancel} : - @widgets && ($common->{focus_first} || !$mainw->{ok} || @widgets == 1 && member(ref $widgets[0]{focus_w}, "Gtk2::TreeView", "Gtk2::RadioButton")) ? + @widgets && ($common->{focus_first} || !$mainw->{ok} || @widgets == 1 && member(ref($widgets[0]{focus_w}), "Gtk2::TreeView", "Gtk2::RadioButton")) ? $widgets[0]{focus_w} : $mainw->{ok}; $widget_to_focus->grab_focus() if $widget_to_focus; |