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:
Ondrej Holy 2015-01-13 15:50:21 +01:00
parent cfe82d04c5
commit b61c74aa60

View file

@ -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);