[gnome-control-center/gnome-3-14] 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/gnome-3-14] user-accounts: don't show empty row for remote users
- Date: Thu, 15 Jan 2015 08:50:33 +0000 (UTC)
commit fa05d4913f512e4411f1ae2945eafb293a662a50
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 d1b9084..8a66938 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -726,7 +726,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]