diff options
-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; } |