summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-10 03:13:58 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-10 03:13:58 +0000
commit6c53e24da02222759810179f083a95977f0606c7 (patch)
tree557c5f985018f24ced2f823797b27063d0a8a764 /perl-install
parent1a54249c03cbb2a06b5b321ad69c4283b0571c53 (diff)
downloaddrakx-6c53e24da02222759810179f083a95977f0606c7.tar
drakx-6c53e24da02222759810179f083a95977f0606c7.tar.gz
drakx-6c53e24da02222759810179f083a95977f0606c7.tar.bz2
drakx-6c53e24da02222759810179f083a95977f0606c7.tar.xz
drakx-6c53e24da02222759810179f083a95977f0606c7.zip
(create_widget) add support for 'advanced_title'
(needed for next commit)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm1
-rw-r--r--perl-install/interactive/gtk.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 2a17f5c22..34ae7a4de 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -31,6 +31,7 @@ use do_pkgs;
#- advanced_label => (deprecated) force the name of the "Advanced" button
#- advanced_label_close => (deprecated) force the name of the "Basic" button
#- advanced_state => (deprecated) if set to 1, force the "Advanced" part of the dialog to be opened initially
+#- advanced_title => (deprecated) title of the advanced item popup dialog (else reusing main title)
#- callbacks => (deprecated) functions called when something happen: complete advanced ok_disabled
#- ask_from_ takes a list of entries with fields:
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 9ca5b3b72..74dbad3fc 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -442,7 +442,7 @@ sub create_widget {
$w = gtknew('HBox', children_tight => [
gtknew('Install_Button', text => $e->{text},
clicked => sub {
- ask_fromW($o, { title => $common->{title} || N("Advanced") }, $children) }
+ ask_fromW($o, { title => $common->{advanced_title} || $common->{title} || N("Advanced") }, $children) }
)
]);
} elsif ($e->{type} =~ /list/) {