don't delete messages...
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 27 Jan 2002 16:24:59 +0000 (16:24 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 27 Jan 2002 16:24:59 +0000 (16:24 +0000)
ChangeLog.claws
configure.in
src/news.c

index 5012b2cbf4922d5e4ca3272b7aaec40091412d8a..bc2501574a49decdbbad665932d5cce056d71830 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-27 [alfons]    0.7.0claws34
+       
+       * src/news.c
+               make sylpheed believe it can delete a news message...
+               (messages are NOT deleted, maybe we should remove
+               processing from the folder properties after all.)
+
 2002-01-27 [alfons]    0.7.0claws33
 
        * src/folder.c
index 5aa77272d81d120160f609a027156f1a233f9a5b..34420bba6af7d4c21cb8368396d24c5d69d9d45b 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws33
+EXTRA_VERSION=claws34
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index abb3de5123b26171fbce9cfb591600d73117f3bb..8e8aa2b7182de02646fcd0efd8f9ee2b6488dc1b 100644 (file)
@@ -509,20 +509,6 @@ static gint news_get_article_cmd(NNTPSession *session, const gchar *cmd,
 
 static gint news_remove_msg(Folder *folder, FolderItem *item, gint num)
 {
-       gchar *file;
-
-       g_return_val_if_fail(item != NULL, -1);
-
-       file = news_fetch_msg(folder, item, num);
-       g_return_val_if_fail(file != NULL, -1);
-
-       if (unlink(file) < 0) {
-               FILE_OP_ERROR(file, "unlink");
-               g_free(file);
-               return -1;
-       }
-
-       g_free(file);
        return 0;
 }