diff options
author | Aurélien Lefebvre <alefebvre@mandriva.com> | 2009-09-03 15:09:09 +0000 |
---|---|---|
committer | Aurélien Lefebvre <alefebvre@mandriva.com> | 2009-09-03 15:09:09 +0000 |
commit | 3c8870431a9d63c732f3192591db84828d83ffc2 (patch) | |
tree | d5b4a097ababdd5933140560ba726a67a6bd87e7 | |
parent | 331cb730da2d422ff548ecfa04c5216ef50efa21 (diff) | |
download | userdrake-3c8870431a9d63c732f3192591db84828d83ffc2.tar userdrake-3c8870431a9d63c732f3192591db84828d83ffc2.tar.gz userdrake-3c8870431a9d63c732f3192591db84828d83ffc2.tar.bz2 userdrake-3c8870431a9d63c732f3192591db84828d83ffc2.tar.xz userdrake-3c8870431a9d63c732f3192591db84828d83ffc2.zip |
- password weakness: display icon instead of changing the
entry background (require >= drakx-12.47)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | userdrake | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- password weakness: display icon instead of changing the + entry background (require >= drakx-12.47) - added password weakness check (require >= drakx-12.45) Version 1.9.1 - 15 April 2009, Thierry Vignaud @@ -682,7 +682,7 @@ sub BuildUui { $us->{o}{passwd}->signal_connect(changed => sub { require authentication; my $password_weakness = authentication::compute_password_weakness($us->{o}{passwd}->get_text); - $us->{o}{passwd}->modify_base('GTK_STATE_NORMAL', interactive::gtk::get_weakness_color($password_weakness)); + $us->{o}{passwd}->set_icon_from_pixbuf('GTK_ENTRY_ICON_SECONDARY', interactive::gtk::get_weakness_icon($password_weakness)); }); $vbox; } |