[Evolution-hackers] simple fixes for calendar-http



This fixes a couple trivial problems with the base URI checking and
dialog layout.

-David
Index: plugins/calendar-http/calendar-http.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/calendar-http/calendar-http.c,v
retrieving revision 1.3
diff -u -r1.3 calendar-http.c
--- plugins/calendar-http/calendar-http.c	14 Nov 2004 10:46:23 -0000	1.3
+++ plugins/calendar-http/calendar-http.c	26 Dec 2004 23:08:24 -0000
@@ -294,7 +294,7 @@
 	ESourceGroup *group = e_source_peek_group (t->source);
         char *uri_text;
 
-	if (strcmp (e_source_group_peek_base_uri (group), "webcal"))
+	if (strncmp (e_source_group_peek_base_uri (group), "webcal", 6))
 		return TRUE;
 
         uri_text = e_source_get_uri (t->source);
Index: plugins/calendar-http/org-gnome-calendar-http.eplug.in
===================================================================
RCS file: /cvs/gnome/evolution/plugins/calendar-http/org-gnome-calendar-http.eplug.in,v
retrieving revision 1.1
diff -u -r1.1 org-gnome-calendar-http.eplug.in
--- plugins/calendar-http/org-gnome-calendar-http.eplug.in	4 Nov 2004 04:13:21 -0000	1.1
+++ plugins/calendar-http/org-gnome-calendar-http.eplug.in	26 Dec 2004 23:08:24 -0000
@@ -12,11 +12,11 @@
 	     check="e_calendar_http_check">
                 <item
 		 type="item_table"
-		 path="00.general/00.source/30.url"
+		 path="00.general/00.source/40.url"
 		 factory="e_calendar_http_url"/>
 		<item
 		 type="item_table"
-		 path="00.general/00.source/40.refresh"
+		 path="00.general/00.source/50.refresh"
 		 factory="e_calendar_http_refresh"/>
             </group>
         </hook>


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