aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2009-07-25 00:07:37 +0800
committerPriit Laes <plaes@plaes.org>2009-07-29 17:42:14 +0800
commit4e351b7594260829fa6b38762b3c69927e7d2dc3 (patch)
tree0b0ca26ded4f7c36e274355ec6bd76a04d153e2b
parentf453c807afecdc210410eeb9f389ca50d0764a7c (diff)
downloadgsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.tar
gsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.tar.gz
gsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.tar.bz2
gsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.tar.lz
gsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.tar.xz
gsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.tar.zst
gsoc2013-epiphany-4e351b7594260829fa6b38762b3c69927e7d2dc3.zip
Set password column initially as hidden.
Signed-off-by: Priit Laes <plaes@plaes.org>
-rw-r--r--src/pdm-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 6a31a1688..318fbf752 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);