[gnome-system-tools/users-ui-redesign: 1/12] Hide home directory column in users-admin



commit 74f2793f01af5733750fc1aed5dbc5d9492407a5
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Thu Aug 6 18:21:11 2009 +0200

    Hide home directory column in users-admin
    
    No need to show it in the users list, keep it for advanced configuration.

 src/users/users-table.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/users/users-table.c b/src/users/users-table.c
index fffd2f7..f84976d 100644
--- a/src/users/users-table.c
+++ b/src/users/users-table.c
@@ -71,16 +71,6 @@ add_user_columns (GtkTreeView *treeview)
 							    NULL);
 	gtk_tree_view_column_set_expand (column, TRUE);
 	gtk_tree_view_insert_column (treeview, column, -1);
-
-	/* Home directory */
-	renderer = gtk_cell_renderer_text_new ();
-	column = gtk_tree_view_column_new_with_attributes (_("Home directory"),
-							   renderer,
-							   "text", COL_USER_HOME,
-							   "sensitive", COL_USER_SENSITIVE,
-							   NULL);
-	gtk_tree_view_column_set_expand (column, TRUE);
-	gtk_tree_view_insert_column (treeview, column, -1);
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]