[gnome-control-center/wip/feborges/new-users-panel: 4/7]	user-accounts: Reorganize the user-options container
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-control-center/wip/feborges/new-users-panel: 4/7]	user-accounts: Reorganize the user-options container
- Date: Sat, 10 Dec 2016 22:12:50 +0000 (UTC)
commit 5d370905b61c9146574d2687c60a1727f4d28ced
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Dec 2 17:45:57 2016 +0100
    user-accounts: Reorganize the user-options container
    
    This commit merges the hbox2, main-user-vbox, and grid1 into the
    "user-options" container.
    
    It also replaces deprecated widgets, such as GtkVBox and GtkHBox.
    
    These changes are according to the new User Accounts panel mockups
    at https://wiki.gnome.org/Design/SystemSettings/UserAccounts
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767065
 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 37148ad..37e63ff 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -1175,7 +1175,7 @@ on_permission_changed (GPermission *permission,
 
         gtk_stack_set_visible_child_name (GTK_STACK (d->headerbar_buttons), is_authorized ? PAGE_ADDUSER : 
PAGE_LOCK);
 
-        widget = get_widget (d, "main-user-vbox");
+        widget = get_widget (d, "user-options");
         gtk_widget_set_sensitive (widget, is_authorized);
 
         widget = get_widget (d, "add-user-toolbutton");
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]