[epiphany/gnome-keyring: 2/8] Set password column initially as hidden.



commit b16eeff1c829155a091910bc4f6a3de49bd99dc0
Author: Priit Laes <plaes plaes org>
Date:   Fri Jul 24 19:07:37 2009 +0300

    Set password column initially as hidden.
    
    Signed-off-by: Priit Laes <plaes plaes org>

 src/pdm-dialog.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 6a31a16..318fbf7 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -1251,7 +1251,7 @@ pdm_dialog_passwords_construct (PdmActionInfo *info)
 	gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
 	gtk_tree_view_column_set_sort_column_id (column, COL_PASSWORDS_USER);
 
-	/* FIXME: Mask passwords initially with '*' */
+    /* Initially shown as hidden colum */
     gtk_tree_view_insert_column_with_data_func (treeview,
                             COL_PASSWORDS_PASS,
                             _("User Password"),
@@ -1260,6 +1260,7 @@ pdm_dialog_passwords_construct (PdmActionInfo *info)
                             info,
                             NULL);
 	column = gtk_tree_view_get_column (treeview, COL_PASSWORDS_PASS);
+    gtk_tree_view_column_set_visible (column, FALSE);
 	gtk_tree_view_column_set_resizable (column, TRUE);
 	gtk_tree_view_column_set_reorderable (column, TRUE);
 	gtk_tree_view_column_set_sizing (column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);


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