[gnome-calendar] window: add "calendar-color-image" in calendar popover
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] window: add "calendar-color-image" in calendar popover
- Date: Fri, 8 Jul 2016 19:54:06 +0000 (UTC)
commit d7e082af0ff129fef6ebd454acedd85415e6972e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jul 8 16:53:57 2016 -0300
window: add "calendar-color-image" in calendar popover
src/gcal-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 507b631..d99c4cb 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -850,6 +850,8 @@ make_row_from_source (GcalWindow *window,
pixbuf = get_circle_pixbuf_from_color (&color, 16);
icon = gtk_image_new_from_pixbuf (pixbuf);
+ gtk_style_context_add_class (gtk_widget_get_style_context (icon), "calendar-color-image");
+
/* source name label */
label = gtk_label_new (e_source_get_display_name (source));
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]