aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-12-10 05:40:28 +0800
committerChris Toshok <toshok@src.gnome.org>2002-12-10 05:40:28 +0800
commit267c9dec5c5b692830e0261a4b5dc89bcbcd577c (patch)
treee944a8ed3f6b324246c2a6157a1d8f0970968ca3 /addressbook
parent2efdf9ac4a886cf7277c596b6b805f24e9f9bf03 (diff)
downloadgsoc2013-evolution-267c9dec5c5b692830e0261a4b5dc89bcbcd577c.tar.gz
gsoc2013-evolution-267c9dec5c5b692830e0261a4b5dc89bcbcd577c.tar.zst
gsoc2013-evolution-267c9dec5c5b692830e0261a4b5dc89bcbcd577c.zip
pass "Addressbook" to e_passwords*. (addressbook_authenticate): same.
2002-12-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (load_uri_auth_cb): pass "Addressbook" to e_passwords*. (addressbook_authenticate): same. svn path=/trunk/; revision=19072
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 8b6623aedd..b44942f494 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2002-12-09 Chris Toshok <toshok@ximian.com>
+ * gui/component/addressbook.c (load_uri_auth_cb): pass
+ "Addressbook" to e_passwords*.
+ (addressbook_authenticate): same.
+
+2002-12-09 Chris Toshok <toshok@ximian.com>
+
* gui/component/addressbook.c (search_cb): remove
PENDING_PORT_WORK.
(addressbook_search_activated): same.
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index e8298a8d4c..86644aaf8d 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -601,7 +601,7 @@ load_uri_auth_cb (EBook *book, EBookStatus status, gpointer closure)
return;
}
else {
- e_passwords_forget_password (data->clean_uri);
+ e_passwords_forget_password ("Addressbook", data->clean_uri);
addressbook_authenticate (book, TRUE, data->source, load_uri_auth_cb, closure);
return;
}
@@ -629,7 +629,7 @@ addressbook_authenticate (EBook *book, gboolean previous_failure, AddressbookSou
if (semicolon)
*semicolon = '\0';
- password = e_passwords_get_password (load_uri_data->clean_uri);
+ password = e_passwords_get_password ("Addressbook", load_uri_data->clean_uri);
if (!password) {
char *prompt;
@@ -651,7 +651,7 @@ addressbook_authenticate (EBook *book, gboolean previous_failure, AddressbookSou
prompt = g_strdup_printf (_("%sEnter password for %s (user %s)"),
failed_auth, source->name, source->email_addr);
remember = source->remember_passwd;
- pass_dup = e_passwords_ask_password (prompt, load_uri_data->clean_uri, prompt, TRUE,
+ pass_dup = e_passwords_ask_password (prompt, "Addressbook", load_uri_data->clean_uri, prompt, TRUE,
E_PASSWORDS_REMEMBER_FOREVER, &remember,
NULL);
if (remember != source->remember_passwd) {