diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-18 03:35:43 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-18 03:35:43 +0800 |
commit | 55f88f14fed53f67e4b3cd5337cbe92aee0ec638 (patch) | |
tree | d783e0896a0649b70ec67c13073841c7f3fbd64f /calendar/gui/gncal-full-day.c | |
parent | ad0347d16bfd10f5f6b0783d7030cac420c4362a (diff) | |
download | gsoc2013-evolution-55f88f14fed53f67e4b3cd5337cbe92aee0ec638.tar.gz gsoc2013-evolution-55f88f14fed53f67e4b3cd5337cbe92aee0ec638.tar.zst gsoc2013-evolution-55f88f14fed53f67e4b3cd5337cbe92aee0ec638.zip |
Large number of updates. Recurrence basically works now in most of its
Large number of updates. Recurrence basically works now in most
of its forms (daily, weekly, month-by-position).
Miguel.
svn path=/trunk/; revision=148
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r-- | calendar/gui/gncal-full-day.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c index b048ba9de7..c3151f6dcf 100644 --- a/calendar/gui/gncal-full-day.c +++ b/calendar/gui/gncal-full-day.c @@ -1447,7 +1447,7 @@ button_1 (GncalFullDay *fullday, GdkEventButton *event) child = find_child_by_window (fullday, event->window, &on_text); - if (!child || on_text) + if (!child || on_text || child->ico->recur) return FALSE; /* Prepare for drag */ @@ -1647,8 +1647,8 @@ update_from_drag_info (GncalFullDay *fullday) widget = GTK_WIDGET (fullday); get_time_from_rows (fullday, di->child_start_row, di->child_rows_used, - &di->child->start, - &di->child->end); + &di->child->ico->dtstart, + &di->child->ico->dtend); child_range_changed (fullday, di->child); @@ -1878,7 +1878,7 @@ child_compare_by_start (gpointer a, gpointer b) return (diff < 0) ? -1 : (diff > 0) ? 1 : 0; } -static void +static int fullday_add_children (iCalObject *obj, time_t start, time_t end, void *c) { GncalFullDay *fullday = c; @@ -1886,6 +1886,8 @@ fullday_add_children (iCalObject *obj, time_t start, time_t end, void *c) child = child_new (fullday, start, end, obj); fullday->children = g_list_insert_sorted (fullday->children, child, child_compare_by_start); + + return 1; } void |