summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/interactive/gtk.pm12
3 files changed, 9 insertions, 6 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e85fadb95..905990cfa 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- libdrakX:
+ o make advanced popup display the same title as their parents
- drakboot
o fix nolapic/lapic logic due to altered kernel settings
- fix input devices detection in rpmsrate (broken for 3 years, #43721)
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 74baab45a..2f3aa0aed 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,5 +1,6 @@
- libdrakX:
o fix position of cancel button in popups
+ o make advanced popup display the same title as their parents
- drakboot
o fix nolapic/lapic logic due to altered kernel settings
- fix input devices detection in rpmsrate (broken for 3 years, #43721)
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 1b19aa2b8..20cbdb6d9 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -363,7 +363,7 @@ sub add_padding {
}
sub create_widget {
- my ($o, $e, $onchange_f, $update, $ignore_ref) = @_;
+ my ($o, $common, $e, $onchange_f, $update, $ignore_ref) = @_;
my $onchange = sub {
my ($f) = @_;
@@ -431,11 +431,11 @@ sub create_widget {
} elsif ($e->{type} eq 'expander') {
$e->{grow} = 'fill';
my $children = [ if_($e->{message}, { type => 'only_label', no_indent => 1, val => \$e->{message} }), @{$e->{children}} ];
- create_widgets_block($o, $children, $update, $ignore_ref);
+ create_widgets_block($o, $common, $children, $update, $ignore_ref);
$w = gtknew('HBox', children_tight => [
gtknew('Install_Button', text => $e->{text},
clicked => sub {
- ask_fromW($o, { title => N("Advanced") }, $children) }
+ ask_fromW($o, { title => $common->{title} || N("Advanced") }, $children) }
)
]);
} elsif ($e->{type} =~ /list/) {
@@ -610,7 +610,7 @@ sub all_title_entries {
}
sub create_widgets_block {
- my ($o, $l, $update, $ignore_ref) = @_;
+ my ($o, $common, $l, $update, $ignore_ref) = @_;
my $label_sizegrp = Gtk2::SizeGroup->new('horizontal');
my $realw_sizegrp = Gtk2::SizeGroup->new('horizontal');
@@ -631,7 +631,7 @@ sub create_widgets_block {
$update->($e->{changed});
};
- create_widget($o, $e, $onchange_f, $update, $ignore_ref);
+ create_widget($o, $common, $e, $onchange_f, $update, $ignore_ref);
my $label_w;
if ($e->{label} || !$e->{no_indent}) {
@@ -728,7 +728,7 @@ sub create_widgets {
${$_->{val}} = mygtk2::asteriskize(${$_->{val}}) foreach @all_titles;
}
- my $box = create_widgets_block($o, $l, $update, \$ignore);
+ my $box = create_widgets_block($o, $common, $l, $update, \$ignore);
my $tooltips = Gtk2::Tooltips->new;
foreach my $e (@all) {