diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-09-13 14:53:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-09-13 14:53:51 +0000 |
commit | 1c08d05e347075a9997986fd0644a000de6e0a10 (patch) | |
tree | 8af1faa79be61ecff1b587b508b979ed5933f2df /perl-install | |
parent | 230f1fc68eb6b0104f70617e0d4c1c332d532f12 (diff) | |
download | drakx-1c08d05e347075a9997986fd0644a000de6e0a10.tar drakx-1c08d05e347075a9997986fd0644a000de6e0a10.tar.gz drakx-1c08d05e347075a9997986fd0644a000de6e0a10.tar.bz2 drakx-1c08d05e347075a9997986fd0644a000de6e0a10.tar.xz drakx-1c08d05e347075a9997986fd0644a000de6e0a10.zip |
when taking screenshot during pkgs install, we can be chrooted, in that case the icon is not accessible
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index dc1cf0f88..5d39c1903 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -830,7 +830,7 @@ sub new { 'MagicWindow', title => $title || '', pop_it => $o->{pop_it}, - $::isInstall ? (banner => Gtk2::Banner->new($icon, $title)) : (), + $::isInstall && $icon ? (banner => Gtk2::Banner->new($icon, $title)) : (), child => gtknew('VBox'), modal => $grab || $o->{grab} || $o->{modal}, if_(!$::isInstall, icon_no_error => wm_icon()), |