diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-10-30 06:23:20 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-10-30 06:23:20 +0800 |
commit | abe1e4017d5a095aa911b6736ca8ad0d50c9f1fb (patch) | |
tree | 6d08bf5c8fc36346679653841407cfb2a9913e5b /calendar/gui | |
parent | e170420969a8b5b6e39a53dcff37d012fcfa89df (diff) | |
download | gsoc2013-evolution-abe1e4017d5a095aa911b6736ca8ad0d50c9f1fb.tar.gz gsoc2013-evolution-abe1e4017d5a095aa911b6736ca8ad0d50c9f1fb.tar.zst gsoc2013-evolution-abe1e4017d5a095aa911b6736ca8ad0d50c9f1fb.zip |
Fix bug #12163.
2001-10-29 Federico Mena Quintero <federico@ximian.com>
Fix bug #12163.
* cal-util/cal-util.c (compute_alarm_range): Take alarm
repetitions into account.
(add_alarm_occurrences_cb): Add alarm repetitions.
(generate_absolute_triggers): Likewise.
(generate_absolute_triggers): Oops, absolute triggers are in UTC,
so convert them as such. Also, pay attention to the timezones of
the dtstart and dtend properties.
svn path=/trunk/; revision=14369
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/cal-search-bar.c | 1 | ||||
-rw-r--r-- | calendar/gui/calendar-model.c | 22 |
2 files changed, 2 insertions, 21 deletions
diff --git a/calendar/gui/cal-search-bar.c b/calendar/gui/cal-search-bar.c index 9c30a02308..3313220d58 100644 --- a/calendar/gui/cal-search-bar.c +++ b/calendar/gui/cal-search-bar.c @@ -23,6 +23,7 @@ #endif #include <stdlib.h> +#include <string.h> #include <glib.h> #include <gtk/gtkmenu.h> #include <gtk/gtkmenuitem.h> diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index f039a3d7e1..39df6f2b32 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -40,6 +40,7 @@ #include "calendar-model.h" #include "evolution-activity-client.h" #include "e-cell-date-edit-text.h" +#include "misc.h" /* This specifies how often we refresh the list, so that completed tasks are hidden according to the config setting, and overdue tasks change color etc. @@ -903,27 +904,6 @@ calendar_model_value_at (ETableModel *etm, int col, int row) } } -/* Returns whether a string is NULL, empty, or full of whitespace */ -static gboolean -string_is_empty (const char *value) -{ - const char *p; - gboolean empty = TRUE; - - if (value) { - p = value; - while (*p) { - if (!isspace ((unsigned char) *p)) { - empty = FALSE; - break; - } - p++; - } - } - return empty; -} - - /* Builds a list of categories from a comma-delimited string */ static GSList * categories_from_string (const char *value) |