diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet-extended-maintenance-helper | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,6 @@ +- mdkapplet-extended-maintenance-helper + o remember the email when an error occured + Version 2.77.15.7 - 2 February 2010, Thierry Vignaud - mdkapplet diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper index c698a29f..b481104e 100755 --- a/mdkapplet-extended-maintenance-helper +++ b/mdkapplet-extended-maintenance-helper @@ -49,6 +49,7 @@ foreach my $opt (@ARGV) { } } my ($version) = @ARGV; +my $email; $version or die "usage: $0 <distrib_version>\n"; @@ -121,7 +122,7 @@ sub get_extmaint_authentication() { new_link_button('https://my.mandriva.com/info', N("More information on your user account"))) ]), gtknew('Table', col_spacings => 5, row_spacings => 5, children => [ - [ N("Your email"), $email_w = gtknew('Entry') ], + [ N("Your email"), $email_w = gtknew('Entry', text => $email) ], [ N("Your password"), $password_w ], ]), gtknew('HButtonBox', layout => 'start', children_tight => [ @@ -131,7 +132,7 @@ sub get_extmaint_authentication() { create_okcancel($w, N("Next"), N("Cancel")), ]); - my $email = $email_w->get_text; + $email = $email_w->get_text; # when embedded: $password = $password_w->get_text if !$password_restrieved; if ($res) { |