aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-09-08 13:23:32 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-09-08 13:23:32 +0000
commitbf9334a7350cd97ef98ef7c665d5a8642717ea11 (patch)
tree63333cbd69aadda0dea4f3d0af77db46a9e57f1e
parent5ac8d2b989f0b90e0a9c7cc8386b7b1f4e3293c7 (diff)
downloaduserdrake-bf9334a7350cd97ef98ef7c665d5a8642717ea11.tar
userdrake-bf9334a7350cd97ef98ef7c665d5a8642717ea11.tar.gz
userdrake-bf9334a7350cd97ef98ef7c665d5a8642717ea11.tar.bz2
userdrake-bf9334a7350cd97ef98ef7c665d5a8642717ea11.tar.xz
userdrake-bf9334a7350cd97ef98ef7c665d5a8642717ea11.zip
- password weakness: added tooltip text to icon (require >= drakx-12.49)
-rw-r--r--NEWS4
-rwxr-xr-xuserdrake1
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7d4dd43..2ab9eed 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
+- password weakness: added tooltip text to icon
+ (require >= drakx-12.49)
- password weakness: display icon instead of changing the
- entry background (require >= drakx-12.47)
+ entry background (require >= drakx-12.48)
- added password weakness check (require >= drakx-12.45)
Version 1.9.1 - 15 April 2009, Thierry Vignaud
diff --git a/userdrake b/userdrake
index fe6ff46..2ce731b 100755
--- a/userdrake
+++ b/userdrake
@@ -683,6 +683,7 @@ sub BuildUui {
require authentication;
my $password_weakness = authentication::compute_password_weakness($us->{o}{passwd}->get_text);
$us->{o}{passwd}->set_icon_from_pixbuf('GTK_ENTRY_ICON_SECONDARY', interactive::gtk::get_weakness_icon($password_weakness));
+ $us->{o}{passwd}->set_icon_tooltip_text('GTK_ENTRY_ICON_SECONDARY', interactive::gtk::get_weakness_tooltip($password_weakness));
});
$vbox;
}