[evolution-data-server] Bug #386113 - show custom alarm message in pop-up alerts



commit d611d2565af519a5d5e65ddce3d6830a58f7900c
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Mon Jul 22 14:59:33 2013 +0200

    Bug #386113 - show custom alarm message in pop-up alerts
    
    Enable this feature only for backends we are completely sure it works.
    Only enabled for local calendars (file backend) for now.

 calendar/backends/file/e-cal-backend-file.c        |    1 +
 calendar/libecal/e-cal-util.h                      |    6 +++---
 .../calendar/libecal/libecal-sections.txt          |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/calendar/backends/file/e-cal-backend-file.c b/calendar/backends/file/e-cal-backend-file.c
index f79c4c6..0fcc2a3 100644
--- a/calendar/backends/file/e-cal-backend-file.c
+++ b/calendar/backends/file/e-cal-backend-file.c
@@ -480,6 +480,7 @@ e_cal_backend_file_get_backend_property (ECalBackend *backend,
                        CAL_STATIC_CAPABILITY_BULK_ADDS,
                        CAL_STATIC_CAPABILITY_BULK_MODIFIES,
                        CAL_STATIC_CAPABILITY_BULK_REMOVES,
+                       CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION,
                        NULL);
 
        } else if (g_str_equal (prop_name, CAL_BACKEND_PROPERTY_CAL_EMAIL_ADDRESS) ||
diff --git a/calendar/libecal/e-cal-util.h b/calendar/libecal/e-cal-util.h
index 982a752..e336ff1 100644
--- a/calendar/libecal/e-cal-util.h
+++ b/calendar/libecal/e-cal-util.h
@@ -104,13 +104,13 @@ gboolean  e_cal_util_event_dates_match    (icalcomponent *icalcomp1,
 #define CAL_STATIC_CAPABILITY_NO_TRANSPARENCY          "no-transparency"
 
 /**
- * CAL_STATIC_CAPABILITY_NO_ALARM_DESCRIPTION:
+ * CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION:
  *
- * Flag indicating that the backend does not support alarm description
+ * Flag indicating that the backend supports alarm description
  *
  * Since: 3.8
  */
-#define CAL_STATIC_CAPABILITY_NO_ALARM_DESCRIPTION     "no-alarm-description"
+#define CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION                "alarm-description"
 
 /**
  * CAL_STATIC_CAPABILITY_NO_ALARM_AFTER_START:
diff --git a/docs/reference/calendar/libecal/libecal-sections.txt 
b/docs/reference/calendar/libecal/libecal-sections.txt
index a272152..ee98b36 100644
--- a/docs/reference/calendar/libecal/libecal-sections.txt
+++ b/docs/reference/calendar/libecal/libecal-sections.txt
@@ -472,8 +472,8 @@ CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT
 CAL_STATIC_CAPABILITY_NO_THISANDFUTURE
 CAL_STATIC_CAPABILITY_NO_THISANDPRIOR
 CAL_STATIC_CAPABILITY_NO_TRANSPARENCY
-CAL_STATIC_CAPABILITY_NO_ALARM_DESCRIPTION
 CAL_STATIC_CAPABILITY_NO_ALARM_AFTER_START
+CAL_STATIC_CAPABILITY_ALARM_DESCRIPTION
 CAL_STATIC_CAPABILITY_BULK_ADDS
 CAL_STATIC_CAPABILITY_BULK_MODIFIES
 CAL_STATIC_CAPABILITY_BULK_REMOVES


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