diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 20:07:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 20:07:47 +0000 |
commit | 0db8b27b7d0e1da0e669cc14d219db719cd0afc0 (patch) | |
tree | cc54aa69d28e594c21b8e1b2f052935d1985ff7f | |
parent | bbbd8d1b5130e6cebf3e3635faf2dd7c274f5f7d (diff) | |
download | drakx-backup-do-not-use-0db8b27b7d0e1da0e669cc14d219db719cd0afc0.tar drakx-backup-do-not-use-0db8b27b7d0e1da0e669cc14d219db719cd0afc0.tar.gz drakx-backup-do-not-use-0db8b27b7d0e1da0e669cc14d219db719cd0afc0.tar.bz2 drakx-backup-do-not-use-0db8b27b7d0e1da0e669cc14d219db719cd0afc0.tar.xz drakx-backup-do-not-use-0db8b27b7d0e1da0e669cc14d219db719cd0afc0.zip |
allow "icon" to use the icon path
-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 29ed57316..0ac1020fc 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -493,7 +493,7 @@ sub ask_fromW { { e => $e, w => $w, real_w => $real_w || $w, focus_w => $focus_w || $w, expand => $expand, get => $get || sub { ${$e->{val}} }, set => $set || sub {}, - icon_w => -e $e->{icon} ? gtkpng($e->{icon}) : '' }; + icon_w => eval { gtkpng($e->{icon}) } }; }; @widgets_always = map_index { $create_widget->($_, $::i) } @$l; my $always_total_size = $total_size; |