aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-05-06 12:26:39 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-05-06 12:26:39 +0800
commit439576bbb5130a5b83167d5899c0ea61103d87e1 (patch)
treee0cecaa91a106ee7ac459883f4879eadfa970d1c /calendar
parente8dd7ecd0f37dd6dfa33259f1efaadad989cd873 (diff)
downloadgsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.tar
gsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.tar.gz
gsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.tar.bz2
gsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.tar.lz
gsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.tar.xz
gsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.tar.zst
gsoc2013-evolution-439576bbb5130a5b83167d5899c0ea61103d87e1.zip
uncomment code that shouldn't be.
2005-05-06 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_view_objects_added_cb): uncomment code that shouldn't be. svn path=/trunk/; revision=29278
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-cal-model.c18
2 files changed, 14 insertions, 9 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 45d3016472..5610fd393d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2005-05-06 Rodrigo Moya <rodrigo@novell.com>
+ * gui/e-cal-model.c (e_cal_view_objects_added_cb): uncomment code that
+ shouldn't be.
+
+2005-05-06 Rodrigo Moya <rodrigo@novell.com>
+
Fixes #271679
* gui/dialogs/comp-editor.c (save_comp):
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 872ace383d..ff8872d129 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -1319,17 +1319,17 @@ e_cal_view_objects_added_cb (ECalView *query, GList *objects, gpointer user_data
for (l = objects; l; l = l->next) {
ECalModelComponent *comp_data;
-/* /\* remove the components if they are already present and re-add them *\/ */
-/* while ((comp_data = search_by_uid_and_client (priv, e_cal_view_get_client (query), */
-/* icalcomponent_get_uid (l->data)))) { */
-/* int pos; */
+ /* remove the components if they are already present and re-add them */
+ while ((comp_data = search_by_uid_and_client (priv, e_cal_view_get_client (query),
+ icalcomponent_get_uid (l->data)))) {
+ int pos;
-/* pos = get_position_in_array (priv->objects, comp_data); */
-/* e_table_model_row_deleted (E_TABLE_MODEL (model), pos); */
+ pos = get_position_in_array (priv->objects, comp_data);
+ e_table_model_row_deleted (E_TABLE_MODEL (model), pos);
-/* g_ptr_array_remove (priv->objects, comp_data); */
-/* e_cal_model_free_component_data (comp_data); */
-/* } */
+ g_ptr_array_remove (priv->objects, comp_data);
+ e_cal_model_free_component_data (comp_data);
+ }
if ((priv->flags & E_CAL_MODEL_FLAGS_EXPAND_RECURRENCES)) {
RecurrenceExpansionData rdata;