summaryrefslogtreecommitdiffstats
path: root/webservice.c
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2013-05-16 14:31:41 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-16 08:39:05 -0700
commit69da208080bf6af0af3b5a2adfa9347019272a57 (patch)
tree1dceab61644cf3c114132186a9965355f501ae0d /webservice.c
parentb202b5a2ac2830524895e75fbb6d5b6b6142caf1 (diff)
downloadsubsurface-69da208080bf6af0af3b5a2adfa9347019272a57.tar.gz
Hide user password in Upload to divelogs.de dialog
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.c')
-rw-r--r--webservice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/webservice.c b/webservice.c
index 49b2ea1d4..9c990284c 100644
--- a/webservice.c
+++ b/webservice.c
@@ -344,6 +344,7 @@ static gboolean divelogde_dialog(const char **user, const char **pass)
gtk_container_add(GTK_CONTAINER(frame_pass), pwd);
gtk_entry_set_max_length(GTK_ENTRY(pwd), 40);
gtk_entry_set_text(GTK_ENTRY(pwd), *pass ?: "");
+ gtk_entry_set_visibility(GTK_ENTRY(pwd), FALSE);
gtk_entry_set_activates_default(GTK_ENTRY(pwd), TRUE);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);