[gnome-builder] editor: add note about workaround
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: add note about workaround
- Date: Tue, 18 Nov 2014 05:22:29 +0000 (UTC)
commit e178c15815e4909a425da91b3200e432b2a136dd
Author: Christian Hergert <christian hergert me>
Date: Mon Nov 17 21:21:27 2014 -0800
editor: add note about workaround
src/editor/gb-source-view.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-source-view.c b/src/editor/gb-source-view.c
index ee1d651..c8db020 100644
--- a/src/editor/gb-source-view.c
+++ b/src/editor/gb-source-view.c
@@ -1353,6 +1353,13 @@ gb_source_view_real_draw_layer (GbSourceView *view,
GtkTextView *text_view = GTK_TEXT_VIEW (view);
GtkTextBuffer *buffer;
+ /*
+ * WORKAROUND:
+ *
+ * We can't do our grid background from a GtkSourceStyleScheme, so we hack it
+ * in here. Once we can do this with CSS background's, we should probably do
+ * it there.
+ */
GTK_TEXT_VIEW_CLASS (gb_source_view_parent_class)->draw_layer (text_view, layer, cr);
if ((layer == GTK_TEXT_VIEW_LAYER_BELOW) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]