[evolution-patches] itip-formatter plugin invocation URI fix.



Hi,

Attached patch fixes the itip-formatter plugin to open the calendar-view
with date/time set to that of the calendar-item that is being opened.

Kindly let me know your review comments.

Thanks,

V. Varadhan
Index: plugins/itip-formatter/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/itip-formatter/ChangeLog,v
retrieving revision 1.50
diff -u -p -r1.50 ChangeLog
--- plugins/itip-formatter/ChangeLog	27 Jun 2005 00:55:23 -0000	1.50
+++ plugins/itip-formatter/ChangeLog	7 Jul 2005 12:57:15 -0000
@@ -1,3 +1,8 @@
+2005-07-07  Veerapuram Varadhan:
+
+	* itip-formatter.c: (idle_open_cb): Pass the correct-URI to open
+	the respective day/time.
+	
 2005-06-27  Tor Lillqvist  <tml novell com>
 
 	* Makefile.am: Use NO_UNDEFINED. Link with more libraries.
Index: plugins/itip-formatter/itip-formatter.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/itip-formatter/itip-formatter.c,v
retrieving revision 1.43
diff -u -p -r1.43 itip-formatter.c
--- plugins/itip-formatter/itip-formatter.c	20 Jun 2005 17:27:52 -0000	1.43
+++ plugins/itip-formatter/itip-formatter.c	7 Jul 2005 12:57:39 -0000
@@ -1276,7 +1276,8 @@ idle_open_cb (gpointer data) 
 	FormatItipPObject *pitip = data;	
 	char *command;
 	
-	command = g_strdup_printf ("evolution-%s \"calendar://?startdate=%s&enddate=%s\"", BASE_VERSION, 
+	/* <protocol>://<username>:<passwd>@<host>:<port>/?<query>;<param1>;<param2>;..;<paramn> */
+	command = g_strdup_printf ("evolution-%s \"calendar://:@:/?startdate=%s&enddate=%s\"", BASE_VERSION, 
 				   isodate_from_time_t (pitip->start_time), isodate_from_time_t (pitip->end_time));
 	if (!g_spawn_command_line_async (command, NULL)) {
 		g_warning ("Could not launch %s", command);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]