[evolution-patches] [Hackfest]: Fixes #256874
- From: Shreyas <sshreyas novell com>
- To: pchenthill <pchenthill novell com>
- Cc: Rodrigo Moya <rodrigo novell com>, evolution-patches lists ximian com
- Subject: [evolution-patches] [Hackfest]: Fixes #256874
- Date: Thu, 12 May 2005 22:25:08 +0530
Hey,
The patch adds a new category "Anniversary" and also fixes the issue of
calender showing even Anniversary days as category Birthday.
Cheers,
Shreyas
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/ChangeLog,v
retrieving revision 1.256
diff -u -p -w -r1.256 ChangeLog
--- ChangeLog 6 May 2005 08:43:48 -0000 1.256
+++ ChangeLog 12 May 2005 16:48:26 -0000
@@ -1,3 +1,8 @@
+2005-05-12 Shreyas Srinivasan <sshreyas novell com>
+
+ * libedataserver/e-categories.c: Add new Anniversary category,
+ Fixes #256874
+
2005-05-06 Tor Lillqvist <tml novell com>
* configure.in: Check for Win32 (mingw), set Automake
Index: libedataserver/e-categories.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserver/e-categories.c,v
retrieving revision 1.11
diff -u -p -w -r1.11 e-categories.c
--- libedataserver/e-categories.c 3 Feb 2005 16:35:01 -0000 1.11
+++ libedataserver/e-categories.c 12 May 2005 16:50:16 -0000
@@ -224,6 +224,7 @@ initialize_categories_config (void)
conf_is_dirty = FALSE;
} else {
e_categories_add (_("Birthday"), NULL, E_DATA_SERVER_IMAGESDIR "/category_birthday_16.png", TRUE);
+ e_categories_add (_("Anniversary"), NULL, NULL, TRUE);
e_categories_add (_("Business"), NULL, E_DATA_SERVER_IMAGESDIR "/category_business_16.png", TRUE);
e_categories_add (_("Competition"), NULL, NULL, TRUE);
e_categories_add (_("Favorites"), NULL, E_DATA_SERVER_IMAGESDIR "/category_favorites_16.png", TRUE);
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.456
diff -u -p -w -r1.456 ChangeLog
--- calendar/ChangeLog 6 May 2005 11:22:27 -0000 1.456
+++ calendar/ChangeLog 12 May 2005 16:51:46 -0000
@@ -1,3 +1,7 @@
+2005-05-06 Shreyas Srinivasan <sshreyas novell com>
+
+ * backends/contacts/e-cal-backend-contacts.c: Fix #256874
+
2005-05-06 Rodrigo Moya <rodrigo novell com>
* libedata-cal/e-cal-backend-factory.c:
Index: calendar/backends/contacts/e-cal-backend-contacts.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/contacts/e-cal-backend-contacts.c,v
retrieving revision 1.19
diff -u -p -w -r1.19 e-cal-backend-contacts.c
--- calendar/backends/contacts/e-cal-backend-contacts.c 12 May 2005 13:28:15 -0000 1.19
+++ calendar/backends/contacts/e-cal-backend-contacts.c 12 May 2005 16:52:35 -0000
@@ -443,7 +443,11 @@ create_component (ECalBackendContacts *c
e_cal_component_set_summary (cal_comp, &comp_summary);
/* Set category and visibility */
+ if (g_str_has_suffix (uid, ANNIVERSARY_UID_EXT))
+ e_cal_component_set_categories (cal_comp, _("Anniversary"));
+ else if (g_str_has_suffix (uid, BIRTHDAY_UID_EXT))
e_cal_component_set_categories (cal_comp, _("Birthday"));
+
e_cal_component_set_classification (cal_comp, E_CAL_COMPONENT_CLASS_PRIVATE);
/* Birthdays/anniversaries are shown as free time */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]