diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-10 03:13:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-10 03:13:58 +0000 |
commit | 58fd34f5fe5cf3581a617d7dfdc2cdcb690c9d82 (patch) | |
tree | 557c5f985018f24ced2f823797b27063d0a8a764 | |
parent | 04a6ea2e8c7b3c80b69af25e5a879481310d75a5 (diff) | |
download | drakx-backup-do-not-use-58fd34f5fe5cf3581a617d7dfdc2cdcb690c9d82.tar drakx-backup-do-not-use-58fd34f5fe5cf3581a617d7dfdc2cdcb690c9d82.tar.gz drakx-backup-do-not-use-58fd34f5fe5cf3581a617d7dfdc2cdcb690c9d82.tar.bz2 drakx-backup-do-not-use-58fd34f5fe5cf3581a617d7dfdc2cdcb690c9d82.tar.xz drakx-backup-do-not-use-58fd34f5fe5cf3581a617d7dfdc2cdcb690c9d82.zip |
(create_widget) add support for 'advanced_title'
(needed for next commit)
-rw-r--r-- | perl-install/interactive.pm | 1 | ||||
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
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/) { |