diff options
author | David Trowbridge <David.Trowbridge@Colorado.edu> | 2004-12-28 20:10:46 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-12-28 20:10:46 +0800 |
commit | d21980207d955490db6e9d366e289dbee690e6af (patch) | |
tree | fd224af5e25b43c36e3078526ac5c2df34ba4b38 | |
parent | dd22d9bacf944cf16ca75231ddd0eb8ed2aa73cf (diff) | |
download | gsoc2013-evolution-d21980207d955490db6e9d366e289dbee690e6af.tar.gz gsoc2013-evolution-d21980207d955490db6e9d366e289dbee690e6af.tar.zst gsoc2013-evolution-d21980207d955490db6e9d366e289dbee690e6af.zip |
s/strcmp/strncmp.
2004-12-28 David Trowbridge <David.Trowbridge@Colorado.edu>
* calendar-http.c (e_calendar_http_check): s/strcmp/strncmp.
* org-gnome-calendar-http.eplug.in: fixed order of menus.
svn path=/trunk/; revision=28204
-rw-r--r-- | plugins/calendar-http/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/calendar-http/calendar-http.c | 2 | ||||
-rw-r--r-- | plugins/calendar-http/org-gnome-calendar-http.eplug.in | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/plugins/calendar-http/ChangeLog b/plugins/calendar-http/ChangeLog index 28a0aa9012..3aa724b28b 100644 --- a/plugins/calendar-http/ChangeLog +++ b/plugins/calendar-http/ChangeLog @@ -1,3 +1,9 @@ +2004-12-28 David Trowbridge <David.Trowbridge@Colorado.edu> + + * calendar-http.c (e_calendar_http_check): s/strcmp/strncmp. + + * org-gnome-calendar-http.eplug.in: fixed order of menus. + 2004-11-12 Diego Sevilla Ruiz <dsevilla@ditec.um.es> * calendar-http.c (e_calendar_http_check): Accept protocol-less diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c index 6621006326..988fd18929 100644 --- a/plugins/calendar-http/calendar-http.c +++ b/plugins/calendar-http/calendar-http.c @@ -294,7 +294,7 @@ e_calendar_http_check (EPlugin *epl, EConfigHookPageCheckData *data) 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); diff --git a/plugins/calendar-http/org-gnome-calendar-http.eplug.in b/plugins/calendar-http/org-gnome-calendar-http.eplug.in index 1f0e0c622e..3ffe2783c4 100644 --- a/plugins/calendar-http/org-gnome-calendar-http.eplug.in +++ b/plugins/calendar-http/org-gnome-calendar-http.eplug.in @@ -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> |