diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet-enterprise-update-helper | 1 | ||||
-rwxr-xr-x | mdkapplet-extended-maintenance-helper | 2 | ||||
-rwxr-xr-x | mdkapplet-restricted-helper | 1 |
4 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,6 @@ - mdkapplet-extended-maintenance-helper o do not show banner in error dialog when embedded in mcc + o fix getting password when embedded in mcc Version 2.77.15 - 21 January 2010, Thierry Vignaud diff --git a/mdkapplet-enterprise-update-helper b/mdkapplet-enterprise-update-helper index 5c0c85e0..25da0f34 100755 --- a/mdkapplet-enterprise-update-helper +++ b/mdkapplet-enterprise-update-helper @@ -63,6 +63,7 @@ sub get_restricted_authentication() { $password_w = gtknew('Entry'); $password_w->set_visibility(0); + # WARNING: WON'T WORK IF EVER EMBEDDED $w->{real_window}->signal_connect(destroy => sub { $password = $password_w->get_text }); require interactive::gtk; diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper index 4f0f3328..bb12d4a4 100755 --- a/mdkapplet-extended-maintenance-helper +++ b/mdkapplet-extended-maintenance-helper @@ -70,7 +70,6 @@ sub get_extmaint_authentication() { $password_w = gtknew('Entry'); $password_w->set_visibility(0); - $w->{real_window}->signal_connect(destroy => sub { $password = $password_w->get_text }); my $res = fill_n_run_portable_dialog( @@ -106,6 +105,7 @@ sub get_extmaint_authentication() { ]); my $email = $email_w->get_text; + $password = $password_w->get_text; if ($res) { if ($email && $password) { add_extmaint_medium($email, $password); diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper index 059dcb14..d2b7e68e 100755 --- a/mdkapplet-restricted-helper +++ b/mdkapplet-restricted-helper @@ -70,6 +70,7 @@ sub get_restricted_authentication() { $password_w = gtknew('Entry'); $password_w->set_visibility(0); + # WARNING: WON'T WORK IF EVER EMBEDDED $w->{real_window}->signal_connect(destroy => sub { $password = $password_w->get_text }); my $res = |