app: handle calendars colours better

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=745487
This commit is contained in:
Erick Pérez Castellanos
2015-03-06 11:32:32 -05:00
parent 9f20c3f2f9
commit c7563da2d0
9 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -745,7 +745,7 @@ add_source (GcalManager *manager,
/* retrieve the source's color & build item name */
item_name = g_strdup_printf ("%s", e_source_get_uid (source));
gdk_rgba_parse (&color, get_color_name_from_source (source));
get_color_name_from_source (source, &color);
pix = gcal_get_pixbuf_from_color (&color, 16);
/* create the menu item */