[Xfce4-commits] <midori:master> Check 'Remember password' depending on whether it was checked before
Christian Dywan
noreply at xfce.org
Mon Jan 25 00:10:01 CET 2010
Updating branch refs/heads/master
to 3ed2046d5076cfadddf350b976e7786aac1f17eb (commit)
from a7b982eff05bfc5425627da8ccaf470880404386 (commit)
commit 3ed2046d5076cfadddf350b976e7786aac1f17eb
Author: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun Jan 24 23:37:59 2010 +0100
Check 'Remember password' depending on whether it was checked before
katze/katze-http-auth.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c
index 38c6ce5..eef0c6a 100644
--- a/katze/katze-http-auth.c
+++ b/katze/katze-http-auth.c
@@ -266,6 +266,7 @@ katze_http_auth_session_authenticate_cb (SoupSession* session,
label = gtk_check_button_new_with_mnemonic (_("_Remember password"));
gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, TRUE, 0);
g_object_set_data (G_OBJECT (dialog), "remember", label);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (label), (login != NULL));
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), hbox);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
gtk_widget_show_all (GTK_DIALOG (dialog)->vbox);
More information about the Xfce4-commits
mailing list