aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-11-15 06:15:55 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-11-15 06:15:55 +0800
commitdcdbd48015c6fe7c94ff26305a6022dec2f0166a (patch)
treea18c77d090393519dbe24b7d76ac28c662ff91fd
parentaa256bd41d5f1c85d17778c6bcd8e80a291fdad6 (diff)
downloadgsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.gz
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.bz2
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.lz
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.xz
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.zst
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.zip
#ifdef'ed out the LOCATION field for now, since it wasn't supported
2001-11-14 Damon Chaplin <damon@ximian.com> * gui/calendar-model.c: * cal-util/cal-component.h: #ifdef'ed out the LOCATION field for now, since it wasn't supported everywhere, or in the .etspec file. svn path=/trunk/; revision=14709
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/cal-util/cal-component.h2
-rw-r--r--calendar/gui/calendar-model.c8
3 files changed, 16 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 50272c8224..d261d43b97 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,11 @@
2001-11-14 Damon Chaplin <damon@ximian.com>
+ * gui/calendar-model.c:
+ * cal-util/cal-component.h: #ifdef'ed out the LOCATION field for now,
+ since it wasn't supported everywhere, or in the .etspec file.
+
+2001-11-14 Damon Chaplin <damon@ximian.com>
+
* gui/e-calendar-table.c: don't abort when e_table_selected_count()
returns odd values. There seems to be a bug in ETable. This is to
avoid bug #13843.
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h
index e308ff5cf7..ad2dac7e48 100644
--- a/calendar/cal-util/cal-component.h
+++ b/calendar/cal-util/cal-component.h
@@ -78,7 +78,9 @@ typedef enum {
CAL_COMPONENT_FIELD_COLOR, /* not a real field */
CAL_COMPONENT_FIELD_STATUS,
CAL_COMPONENT_FIELD_COMPONENT, /* not a real field */
+#if 0
CAL_COMPONENT_FIELD_LOCATION,
+#endif
CAL_COMPONENT_FIELD_NUM_FIELDS
} CalComponentField;
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 59eceb70bb..b9a5d41261 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -768,6 +768,7 @@ get_status (CalComponent *comp)
}
}
+#if 0
static void *
get_location (CalComponent *comp)
{
@@ -776,6 +777,7 @@ get_location (CalComponent *comp)
cal_component_get_location (comp, &location);
return (void*) location;
}
+#endif
/* value_at handler for the calendar table model */
static void *
@@ -902,8 +904,10 @@ calendar_model_value_at (ETableModel *etm, int col, int row)
case CAL_COMPONENT_FIELD_COMPONENT:
return comp;
+#if 0
case CAL_COMPONENT_FIELD_LOCATION :
return get_location (comp);
+#endif
default:
g_message ("calendar_model_value_at(): Requested invalid column %d", col);
@@ -1208,6 +1212,7 @@ set_status (CalComponent *comp, const char *value)
}
}
+#if 0
static void
set_location (CalComponent *comp, const char *value)
{
@@ -1218,6 +1223,7 @@ set_location (CalComponent *comp, const char *value)
cal_component_set_location (comp, value);
}
+#endif
/* set_value_at handler for the calendar table model */
static void
@@ -1302,9 +1308,11 @@ calendar_model_set_value_at (ETableModel *etm, int col, int row, const void *val
set_status (comp, value);
break;
+#if 0
case CAL_COMPONENT_FIELD_LOCATION :
set_location (comp, value);
break;
+#endif
default:
g_message ("calendar_model_set_value_at(): Requested invalid column %d", col);