diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-02-14 23:37:45 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-02-14 23:37:45 +0800 |
commit | 31c1f56b27f2bc65aa0f9007292a9732a35f72f1 (patch) | |
tree | 541c7913ce5d555ec1299e13b45eb192580effcd | |
parent | 7b29506eae5d8d1faeedb12f92131b6ee2130b79 (diff) | |
download | gsoc2013-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
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 78ea4f6da7..fbbbdb8ea5 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2008-02-14 Matthew Barnes <mbarnes@redhat.com> + + * gui/component/addressbook.c (addressbook_authenticate): + Don't allow newlines in the password dialog title. Use a fixed + string instead. (#516279) + 2008-02-10 Suman Manjunath <msuman@novell.com> ** Fix for bug #510642 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); |