Merge lp:~seb128/unity-control-center/users-change-inactive into lp:unity-control-center

Proposed by Sebastien Bacher
Status: Merged
Approved by: Robert Ancell
Approved revision: 12757
Merged at revision: 12757
Proposed branch: lp:~seb128/unity-control-center/users-change-inactive
Merge into: lp:unity-control-center
Diff against target: 14 lines (+3/-1)
1 file modified
panels/user-accounts/um-password-dialog.c (+3/-1)
To merge this branch: bzr merge lp:~seb128/unity-control-center/users-change-inactive
Reviewer Review Type Date Requested Status
Robert Ancell Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+211608@code.launchpad.net

Commit message

users: set the change password button to inactive by default

Description of the change

users: set the change password button to inactive by default

To post a comment you must log in.
Revision history for this message
Robert Ancell (robert-ancell) :
review: Approve
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Though you should probably fix the indentation...

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
12758. By Sebastien Bacher

correct the indentation

Revision history for this message
Sebastien Bacher (seb128) wrote :

> Though you should probably fix the indentation...

done

Revision history for this message
Robert Ancell (robert-ancell) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'panels/user-accounts/um-password-dialog.c'
2--- panels/user-accounts/um-password-dialog.c 2014-02-21 15:48:18 +0000
3+++ panels/user-accounts/um-password-dialog.c 2014-03-18 20:57:25 +0000
4@@ -297,8 +297,10 @@
5 /* Don't update the password strength if we didn't enter anything */
6 if (password && *password == '\0' &&
7 verify && *verify == '\0' &&
8- old_password && *old_password == '\0')
9+ old_password && *old_password == '\0') {
10+ gtk_widget_set_sensitive (um->ok_button, FALSE);
11 return;
12+ }
13
14 strength_level = update_password_strength (um);
15

Subscribers

People subscribed via source and target branches