month-view: add selection background fill

https://bugzilla.gnome.org/show_bug.cgi?id=763217
This commit is contained in:
fosero
2016-03-12 21:58:22 -03:00
committed by Georges Basile Stavracas Neto
parent 0ce85f6072
commit 8a72bf0ce7
+5 -2
View File
@@ -1762,8 +1762,11 @@ gcal_month_view_draw (GtkWidget *widget,
cairo_line_to (cr, start_x, start_y);
}
cairo_stroke (cr);
}
cairo_stroke_preserve (cr);
/* selection background fill */
cairo_set_source_rgba(cr, color.red, color.green, color.blue, 0.1);
cairo_fill(cr);
}
/* Draw focus rectangle */
if (priv->keyboard_cell > priv->days_delay - 1)