aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarl-qdh <karl@qdh.org.uk>2011-02-16 14:31:25 +0000
committerkarl-qdh <karl@qdh.org.uk>2011-02-16 14:31:25 +0000
commitbef945a68687702cbcf0cbc4227ac33297ad94b0 (patch)
tree305b0d14f4cef68d65d7b9facdb77481aab4f4d7
parent3d413661f18e46c34802d8811c28e11020d01a8a (diff)
downloadayatana-indicator-datetime-bef945a68687702cbcf0cbc4227ac33297ad94b0.tar.gz
ayatana-indicator-datetime-bef945a68687702cbcf0cbc4227ac33297ad94b0.tar.bz2
ayatana-indicator-datetime-bef945a68687702cbcf0cbc4227ac33297ad94b0.zip
Syncup
-rw-r--r--src/datetime-service.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index a33a561..0cba36b 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -636,15 +636,18 @@ update_appointment_menu_items (gpointer user_data) {
g_debug("Command to Execute: %s", cmd);
- ESource *source = e_cal_get_source (ecal);
+ // FIXME This is now more difficult to get right with more sources, as we need to keep track
+ // of which ecal or source goes with each ECalComponent :/
+
+ //ESource *source = e_cal_get_source (ecal);
//e_source_get_color (source, &source_color); api has been changed
- const gchar *color_spec = e_source_peek_color_spec(source);
- GdkColor color;
+ const gchar *color_spec = NULL; //e_source_peek_color_spec(source);
g_debug("Colour to use: %s", color_spec);
// Draw the correct icon for the appointment type and then tint it using mask fill.
// For now we'll create a circle
if (color_spec != NULL) {
+ GdkColor color;
gdk_color_parse (color_spec, &color);
cairo_surface_t *cs = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);