summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-30 12:55:01 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-30 12:55:01 +0000
commit6288c4410419d0877ba8f0425ca149f99ea33396 (patch)
tree0fbb83b3a0675a46db7f45645de905c61d3b3950 /perl-install/install/steps_gtk.pm
parent49cea42ea2f74c9046a795eb2373bd6845a03582 (diff)
downloaddrakx-6288c4410419d0877ba8f0425ca149f99ea33396.tar
drakx-6288c4410419d0877ba8f0425ca149f99ea33396.tar.gz
drakx-6288c4410419d0877ba8f0425ca149f99ea33396.tar.bz2
drakx-6288c4410419d0877ba8f0425ca149f99ea33396.tar.xz
drakx-6288c4410419d0877ba8f0425ca149f99ea33396.zip
(summary_prompt) enable to set banner icon & title per summary item
Diffstat (limited to 'perl-install/install/steps_gtk.pm')
-rw-r--r--perl-install/install/steps_gtk.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index b21a04cf7..5a81ce00d 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -563,7 +563,10 @@ sub summary_prompt {
push @table, [], [ gtknew('HBox', spacing => 30, children_tight => [ '', $e->{widget} ]),
gtknew('Button', text => N("Configure"), clicked => sub {
$w->{rwindow}->hide;
+ my ($old_icon, $old_title) = get_default_step_items();
+ set_default_step_items($e->{banner_icon} || $old_icon, $e->{banner_title} || $old_title);
$e->{clicked}();
+ set_default_step_items($old_icon, $old_title);
$w->{rwindow}->show;
$set_entry_labels->();
}) ];