Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
gnome-control-center
gnome-control-center-password-must-change.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-control-center-password-must-change.patch of Package gnome-control-center
From 14f04443bb8f0ddb3bc080d275114743f15be06f Mon Sep 17 00:00:00 2001 From: Michael Catanzaro <mike.catanzaro@gmail.com> Date: Sun, 6 Jan 2013 21:47:48 -0600 Subject: [PATCH] Don't allow setting password to old password It hangs if you do this. bnc#779413 --- panels/user-accounts/um-password-dialog.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/panels/user-accounts/um-password-dialog.c b/panels/user-accounts/um-password-dialog.c index c825749..ef0a8ce 100644 --- a/panels/user-accounts/um-password-dialog.c +++ b/panels/user-accounts/um-password-dialog.c @@ -265,6 +265,11 @@ update_sensitivity (UmPasswordDialog *um) tooltip = _("The current password is not correct"); } } + else if (strcmp (password, old_password) == 0) { + /* not localized */ + can_change = FALSE; + tooltip = NULL; + } else { can_change = TRUE; tooltip = NULL; -- 1.7.10.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor