sylpheedclaws/plugins/vcalendar/src plugin.c,1.1.2.13,1.1.2.14 vcal_manager.c,1.1.2.30,1.1.2.31

[email protected]
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src
In directory sunsite.dk:/tmp/cvs-serv24787/src

Modified Files:
      Tag: gtk2
	plugin.c vcal_manager.c 
Log Message:
2006-06-12 [colin]	1.79.1cvs1

	* src/plugin.c
	* src/vcal_manager.c
		Update to follow API

Index: plugin.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src/plugin.c,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -u -d -r1.1.2.13 -r1.1.2.14
--- plugin.c	2006/06/06 15:47:27	1.1.2.13
+++ plugin.c	2006/06/12 17:13:16	1.1.2.14
@@ -42,7 +42,7 @@
 		return -1;
 	}
 
-	if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(2, 0, 0, 94))) {
+	if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(2, 3, 0, 5))) {
 		*error = g_strdup(_("Your Sylpheed-Claws version is too old for vCalendar."));
 		return -1;
 	}

Index: vcal_manager.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src/vcal_manager.c,v
retrieving revision 1.1.2.30
retrieving revision 1.1.2.31
diff -u -d -r1.1.2.30 -r1.1.2.31
--- vcal_manager.c	2006/06/08 17:07:04	1.1.2.30
+++ vcal_manager.c	2006/06/12 17:13:16	1.1.2.31
@@ -1032,7 +1032,7 @@
 				"R:<%s>\n"
 				"MAID:%d\n"
 				"%s%s%s"
-				"\n",
+				"X-Sylpheed-End-Special-Headers: 1\n",
 				account->address,
 				account->smtp_server,
 				is_reply ? event->organizer:attendees,
@@ -1195,10 +1195,14 @@
 	msgpath = folder_item_fetch_msg(folderitem, msgnum);
 	
 	if (!prefs_common.work_offline) {
-		gint val = procmsg_send_message_queue(msgpath);
+		gchar *err = NULL;
+		gint val = procmsg_send_message_queue(msgpath, &err);
 		if (val == 0) {
 			folder_item_remove_msg(folderitem, msgnum);
 			folder_item_scan(folderitem);
+		} else if (err) {
+			alertpanel_error_log(err);
+			g_free(err);
 		}
 	}
 	unlink(tmpfile);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.