summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-02 16:56:07 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-02 16:56:07 +0000
commitb3dbc9fed45193774b3de442649f0afedff971f7 (patch)
tree77929fe62727c043f443c29e9ae7f225104cecad
parent5900bfaccd5d1f4549e4028b18afdd9ea90807f0 (diff)
downloadmgaonline-b3dbc9fed45193774b3de442649f0afedff971f7.tar
mgaonline-b3dbc9fed45193774b3de442649f0afedff971f7.tar.gz
mgaonline-b3dbc9fed45193774b3de442649f0afedff971f7.tar.bz2
mgaonline-b3dbc9fed45193774b3de442649f0afedff971f7.tar.xz
mgaonline-b3dbc9fed45193774b3de442649f0afedff971f7.zip
(get_extmaint_authentication split the widget declarations out
-rwxr-xr-xmdkapplet-extended-maintenance-helper8
1 files changed, 3 insertions, 5 deletions
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper
index b481104e..d2e638d0 100755
--- a/mdkapplet-extended-maintenance-helper
+++ b/mdkapplet-extended-maintenance-helper
@@ -94,10 +94,7 @@ sub get_extmaint_authentication() {
return;
}
- my $res =
- fill_n_run_portable_dialog(
- $w,
- [
+ my @widgets = (
if_(!$::isEmbedded,
get_banner(N("Extended Maintenance")),
),
@@ -130,7 +127,8 @@ sub get_extmaint_authentication() {
new_link_button('https://my.mandriva.com/reset/password/', N("Forgotten password")))
]),
create_okcancel($w, N("Next"), N("Cancel")),
- ]);
+ );
+ my $res = fill_n_run_portable_dialog($w, \@widgets);
$email = $email_w->get_text;
# when embedded: