From 09f6dfb18b5853e309dfa5da980fd21750c7c200 Mon Sep 17 00:00:00 2001 From: Colin Leroy Date: Sun, 3 Sep 2006 10:30:41 +0000 Subject: [PATCH] 2006-09-03 [colin] 2.4.0cvs137 * src/compose.c Don't set Newsgroup: header to a mail folder path --- ChangeLog | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- src/compose.c | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 18454beb0..ba8c788b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-09-03 [colin] 2.4.0cvs137 + + * src/compose.c + Don't set Newsgroup: header to a mail folder + path + 2006-09-03 [paul] 2.4.0cvs136 * src/prefs_other.c diff --git a/PATCHSETS b/PATCHSETS index fed70cbc7..ca432e17a 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -1828,3 +1828,4 @@ ( cvs diff -u -r 1.1.2.26 -r 1.1.2.27 manual/advanced.xml; cvs diff -u -r 1.274.2.146 -r 1.274.2.147 src/mainwindow.c; cvs diff -u -r 1.94.2.101 -r 1.94.2.102 src/messageview.c; cvs diff -u -r 1.1.2.16 -r 1.1.2.17 src/prefs_message.c; cvs diff -u -r 1.1.2.9 -r 1.1.2.10 src/prefs_other.c; cvs diff -u -r 1.395.2.241 -r 1.395.2.242 src/summaryview.c; cvs diff -u -r 1.96.2.143 -r 1.96.2.144 src/textview.c; cvs diff -u -r 1.5.2.19 -r 1.5.2.20 src/gtk/menu.c; ) > 2.4.0cvs134.patchset ( cvs diff -u -r 1.1.2.24 -r 1.1.2.25 src/prefs_summaries.c; ) > 2.4.0cvs135.patchset ( cvs diff -u -r 1.1.2.10 -r 1.1.2.11 src/prefs_other.c; cvs diff -u -r 1.5.2.25 -r 1.5.2.26 src/prefs_spelling.c; ) > 2.4.0cvs136.patchset +( cvs diff -u -r 1.382.2.305 -r 1.382.2.306 src/compose.c; ) > 2.4.0cvs137.patchset diff --git a/configure.ac b/configure.ac index bb27dae93..9be92d7a6 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=4 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=136 +EXTRA_VERSION=137 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/compose.c b/src/compose.c index a9cb7194b..6312da944 100644 --- a/src/compose.c +++ b/src/compose.c @@ -982,7 +982,7 @@ Compose *compose_generic_new(PrefsAccount *account, const gchar *mailto, FolderI } else { if (mailto) { compose_entry_append(compose, mailto, COMPOSE_NEWSGROUPS); - } else if (item) { + } else if (item && FOLDER_CLASS(item->folder) == news_get_class()) { compose_entry_append(compose, item->path, COMPOSE_NEWSGROUPS); } /* -- 2.25.1