gnome-control-center/gnome-control-center-890979-change-remote-passwd.patch

15 lines
770 B
Diff
Raw Normal View History

diff -Nur gnome-control-center-3.10.3.bak/panels/user-accounts/um-user-panel.c gnome-control-center-3.10.3/panels/user-accounts/um-user-panel.c
--- gnome-control-center-3.10.3.bak/panels/user-accounts/um-user-panel.c 2014-09-24 06:25:22.293935423 +0800
+++ gnome-control-center-3.10.3/panels/user-accounts/um-user-panel.c 2014-09-24 06:27:53.801939024 +0800
@@ -687,7 +687,10 @@
widget = get_widget (d, "account-password-button");
um_editable_button_set_text (UM_EDITABLE_BUTTON (widget), get_password_mode_text (user));
+/* Enable the remote account also.
enable = act_user_is_local_account (user);
+*/
+ enable = TRUE;
gtk_widget_set_sensitive (widget, enable);
widget = get_widget (d, "autologin-switch");