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
=== modified file 'panels/user-accounts/um-password-dialog.c'
--- panels/user-accounts/um-password-dialog.c 2014-02-21 15:48:18 +0000
+++ panels/user-accounts/um-password-dialog.c 2014-03-18 20:57:25 +0000
@@ -297,8 +297,10 @@
297 /* Don't update the password strength if we didn't enter anything */297 /* Don't update the password strength if we didn't enter anything */
298 if (password && *password == '\0' &&298 if (password && *password == '\0' &&
299 verify && *verify == '\0' &&299 verify && *verify == '\0' &&
300 old_password && *old_password == '\0')300 old_password && *old_password == '\0') {
301 gtk_widget_set_sensitive (um->ok_button, FALSE);
301 return;302 return;
303 }
302304
303 strength_level = update_password_strength (um);305 strength_level = update_password_strength (um);
304306

Subscribers

People subscribed via source and target branches