[evolution-patches] [calendar-plugins]: fix for bug #305627
- From: Dinesh Layek <LDinesh novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] [calendar-plugins]: fix for bug #305627
- Date: Wed, 10 Aug 2005 16:49:00 +0530
attached patch is the fix for bug #305627
please review.
Regards,
Dinesh
Index: itip-formatter.c
===================================================================
RCS file: /cvs/gnome/evolution/plugins/itip-formatter/itip-formatter.c,v
retrieving revision 1.46
diff -r1.46 itip-formatter.c
36a37,38
> #include <camel/camel-service.h>
> #include <camel/camel-store.h>
291a294
>
314a318
>
356a361,362
>
>
359a366,367
>
>
367c375,381
<
---
> struct _CamelFolder *folder;
> CamelStore *parent_store;
> CamelService parent_object;
> struct _CamelURL *url;
> char *uri;
> gboolean temp = FALSE;
>
370c384
<
---
>
403,405c417,425
< if (e_cal_get_object (ecal, fd->uid, fd->rid, &icalcomp, NULL)) {
< icalcomponent_free (icalcomp);
<
---
> folder = (((pitip->pobject).format)->format).folder;
> parent_store =folder->parent_store;
> parent_object = parent_store->parent_object;
> url=parent_object.url;
> uri = camel_url_to_string (url, CAMEL_URL_HIDE_ALL);
> temp = e_cal_get_object (ecal, fd->uid, fd->rid, &icalcomp, NULL);
> if (temp || (!pitip->current_ecal) && (!strcmp(uri,e_source_get_uri(source)))) {
> if(temp)
> icalcomponent_free (icalcomp);
434c454
< }
---
> }
442a463
>
513a535
>
529a552,553
>
>
541d564
<
543d565
<
565c587
<
---
>
568a591
>
1124a1148
>
1125a1150,1151
>
>
1248a1275
>
1259a1287,1289
>
>
>
1502a1533
>
1810d1840
<
1818d1847
<
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/plugins/itip-formatter/ChangeLog,v
retrieving revision 1.53
diff -r1.53 ChangeLog
0a1,4
> 2005-08-10 Dinesh Layek <LDinesh novell com>
>
> * itip-formatter.c: (find_cal_opened_cb): set the source calendar of an appointment, from the url information of CamelFolder.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]