summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-17 09:49:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-17 09:49:03 +0000
commit79563c5372dad020888b77ad98e3f5461a6db794 (patch)
tree2e2496596aee90ccd0eae30a17cab9a91699dc3b /perl-install/ugtk2.pm
parentb44e0a00a4b43dfe86dd5e553e061d0770abb73b (diff)
downloaddrakx-backup-do-not-use-79563c5372dad020888b77ad98e3f5461a6db794.tar
drakx-backup-do-not-use-79563c5372dad020888b77ad98e3f5461a6db794.tar.gz
drakx-backup-do-not-use-79563c5372dad020888b77ad98e3f5461a6db794.tar.bz2
drakx-backup-do-not-use-79563c5372dad020888b77ad98e3f5461a6db794.tar.xz
drakx-backup-do-not-use-79563c5372dad020888b77ad98e3f5461a6db794.zip
(_create_dialog) set x11 icon for dialogs too
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index b68db5a92..cfb6fef2c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -381,6 +381,7 @@ sub _create_dialog {
my $dialog = Gtk2::Dialog->new;
$dialog->set_title($title);
$dialog->set_position('center-on-parent'); # center-on-parent doesn't work
+ $dialog->set_icon(gtkcreate_pixbuf($wm_icon || $::Wizard_pix_up || "wiz_default_up.png"));
$dialog->set_size_request($o_options->{width} || -1, $o_options->{height} || -1);
$dialog->set_modal(1);
$dialog->set_transient_for($o_options->{transient}) if $o_options->{transient};