summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-extended-maintenance-helper5
2 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 36bd385b..bc544b7b 100644
--- a/NEWS
+++ b/NEWS
@@ -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) {