summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-13 14:53:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-13 14:53:51 +0000
commit1c08d05e347075a9997986fd0644a000de6e0a10 (patch)
tree8af1faa79be61ecff1b587b508b979ed5933f2df /perl-install
parent230f1fc68eb6b0104f70617e0d4c1c332d532f12 (diff)
downloaddrakx-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.pm2
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()),