aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-02-14 23:37:45 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-02-14 23:37:45 +0800
commit31c1f56b27f2bc65aa0f9007292a9732a35f72f1 (patch)
tree541c7913ce5d555ec1299e13b45eb192580effcd /addressbook/gui/component/addressbook.c
parent7b29506eae5d8d1faeedb12f92131b6ee2130b79 (diff)
downloadgsoc2013-evolution-31c1f56b27f2bc65aa0f9007292a9732a35f72f1.tar.gz
gsoc2013-evolution-31c1f56b27f2bc65aa0f9007292a9732a35f72f1.tar.zst
gsoc2013-evolution-31c1f56b27f2bc65aa0f9007292a9732a35f72f1.zip
Don't allow newlines in the password dialog title. Use a fixed string
2008-02-14 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/component/addressbook.c (addressbook_authenticate): Don't allow newlines in the password dialog title. Use a fixed string instead. (#516279) svn path=/trunk/; revision=35012
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-rw-r--r--addressbook/gui/component/addressbook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 06e5b4cd2c..22c274eea3 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -211,9 +211,9 @@ addressbook_authenticate (EBook *book, gboolean previous_failure, ESource *sourc
g_free (password_prompt);
remember = get_remember_password (source);
- pass_dup = e_passwords_ask_password (prompt, component_name, uri, prompt,
- flags, &remember,
- NULL);
+ pass_dup = e_passwords_ask_password (
+ _("Enter password"), component_name,
+ uri, prompt, flags, &remember, NULL);
if (remember != get_remember_password (source))
set_remember_password (source, remember);