diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-25 11:10:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-25 11:10:36 +0000 |
commit | bce5a0db31d74b2a89ce540d54a7b70243fc29a4 (patch) | |
tree | 64d78450a5e1499bf4e849d4289cfb936dcd35da | |
parent | cf57bae664cefa5b35d878b130c552ef0f148690 (diff) | |
download | mgaonline-bce5a0db31d74b2a89ce540d54a7b70243fc29a4.tar mgaonline-bce5a0db31d74b2a89ce540d54a7b70243fc29a4.tar.gz mgaonline-bce5a0db31d74b2a89ce540d54a7b70243fc29a4.tar.bz2 mgaonline-bce5a0db31d74b2a89ce540d54a7b70243fc29a4.tar.xz mgaonline-bce5a0db31d74b2a89ce540d54a7b70243fc29a4.zip |
(get_extmaint_authentication) fix getting password when embedded in mcc
-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 = |