diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-02 16:56:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-02 16:56:07 +0000 |
commit | b3dbc9fed45193774b3de442649f0afedff971f7 (patch) | |
tree | 77929fe62727c043f443c29e9ae7f225104cecad | |
parent | 5900bfaccd5d1f4549e4028b18afdd9ea90807f0 (diff) | |
download | mgaonline-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-x | mdkapplet-extended-maintenance-helper | 8 |
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: |