diff options
author | Parthasarathi Susarla <sparthasarathi@novell.com> | 2005-09-30 16:24:06 +0800 |
---|---|---|
committer | Parthasarathi Susarla <saps@src.gnome.org> | 2005-09-30 16:24:06 +0800 |
commit | 9706eaebf949fde93d47519c3f6ebfc0ff82afbf (patch) | |
tree | 1c0c46ecf1a9e5d20f263f85a5c5cb4313b4a7fa /mail | |
parent | d67cc3d9cae4026acc54c04dbfe0f69d7c8cf53d (diff) | |
download | gsoc2013-evolution-9706eaebf949fde93d47519c3f6ebfc0ff82afbf.tar.gz gsoc2013-evolution-9706eaebf949fde93d47519c3f6ebfc0ff82afbf.tar.zst gsoc2013-evolution-9706eaebf949fde93d47519c3f6ebfc0ff82afbf.zip |
** See bug 317284
2005-09-29 Parthasarathi Susarla <sparthasarathi@novell.com>
** See bug 317284
* em-mailer-prefs.c: (emmp_header_add_header):
Check if its a valid header and only then add it
svn path=/trunk/; revision=30429
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-mailer-prefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-mailer-prefs.c b/mail/em-mailer-prefs.c index f956d9ce84..4fe3cbfa68 100644 --- a/mail/em-mailer-prefs.c +++ b/mail/em-mailer-prefs.c @@ -385,6 +385,8 @@ emmp_header_add_header (GtkWidget *widget, EMMailerPrefs *prefs) GtkTreeModel *model = GTK_TREE_MODEL (prefs->header_list_store); GtkTreeIter iter; const gchar *text = gtk_entry_get_text (prefs->entry_header); + + g_strstrip (text); if (text && (strlen (text)>0)) { gtk_list_store_append (GTK_LIST_STORE (model), &iter); |