From 3ed2046d5076cfadddf350b976e7786aac1f17eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 24 Jan 2010 23:37:59 +0100 Subject: [PATCH] Check 'Remember password' depending on whether it was checked before --- katze/katze-http-auth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/katze/katze-http-auth.c b/katze/katze-http-auth.c index 38c6ce5c..eef0c6a0 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);