aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-cal-component-preview.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 508a7be4f2..9276b09671 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2005-01-04 Rodrigo Moya <rodrigo@novell.com>
+ * gui/e-cal-component-preview.c (write_html): use the new e-categories
+ API in e-d-s.
+
+2005-01-04 Rodrigo Moya <rodrigo@novell.com>
+
* gui/e-week-view.c (model_rows_deleted_cb): search our internal data
for the correct event.
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index c85f90b526..0a4c777c67 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -29,6 +29,7 @@
#include <gnome.h>
#include <gtk/gtk.h>
#include <libgnomevfs/gnome-vfs-ops.h>
+#include <libedataserver/e-categories.h>
#include <libecal/e-cal-time-util.h>
#include <gtkhtml/gtkhtml.h>
#include <gtkhtml/gtkhtml-stream.h>
@@ -162,7 +163,7 @@ write_html (GtkHTMLStream *stream, ECal *ecal, ECalComponent *comp, icaltimezone
for (node = l; node != NULL; node = node->next) {
const char *icon_file;
- icon_file = e_categories_config_get_icon_file_for ((const char *) node->data);
+ icon_file = e_categories_get_icon_file_for ((const char *) node->data);
if (icon_file) {
gtk_html_stream_printf (stream, "<IMG ALT=\"%s\" SRC=\"file://%s\">",
(const char *) node->data, icon_file);