month-view: add selection background fill
https://bugzilla.gnome.org/show_bug.cgi?id=763217
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
0ce85f6072
commit
8a72bf0ce7
@@ -1762,8 +1762,11 @@ gcal_month_view_draw (GtkWidget *widget,
|
|||||||
cairo_line_to (cr, start_x, start_y);
|
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 */
|
/* Draw focus rectangle */
|
||||||
if (priv->keyboard_cell > priv->days_delay - 1)
|
if (priv->keyboard_cell > priv->days_delay - 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user