[gnome-control-center] user-accounts: don't show empty row for remote users
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: don't show empty row for remote users
- Date: Thu, 15 Jan 2015 08:38:03 +0000 (UTC)
commit b61c74aa607d916eed051a33e98fc53e34fdd50a
Author: Ondrej Holy <oholy redhat com>
Date: Tue Jan 13 15:50:21 2015 +0100
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
panels/user-accounts/um-user-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index 3941b2e..677c190 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]