user-accounts: don't show empty row for remote users
Empty row is shown instead of hidden autologin switch, because autologin box is still visible. Set visibility on autologin box to hide this empty row. https://bugzilla.gnome.org/show_bug.cgi?id=742926#c0
This commit is contained in:
parent
cfe82d04c5
commit
b61c74aa60
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ show_user (ActUser *user, CcUserPanelPrivate *d)
|
|||
gtk_widget_set_visible (widget, show);
|
||||
|
||||
/* Autologin: show when local account */
|
||||
widget = get_widget (d, "autologin-switch");
|
||||
widget = get_widget (d, "autologin-box");
|
||||
label = get_widget (d, "autologin-label");
|
||||
show = act_user_is_local_account (user);
|
||||
gtk_widget_set_visible (widget, show);
|
||||
|
|
Loading…
Add table
Reference in a new issue