user-accounts: Do not set user for password dialog redundantly
um_password_dialog_set_user() is called from on_permission_changed() respective show_user(), which more or less means on every change in the panel. It it pretty enough to call this before opening the password dialog, which is already done over change_password() callback. Let's remove the redundant call which may lead to unwanted failures among others. https://gitlab.gnome.org/GNOME/gnome-control-center/issues/171
This commit is contained in:
parent
37d02369b7
commit
44c5c9e50b
1 changed files with 0 additions and 2 deletions
|
@ -1286,8 +1286,6 @@ on_permission_changed (GPermission *permission,
|
|||
gtk_widget_set_sensitive (get_widget (self, "last-login-button"), FALSE);
|
||||
add_unlock_tooltip (get_widget (self, "last-login-button"));
|
||||
}
|
||||
|
||||
um_password_dialog_set_user (self->password_dialog, user);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue