summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gtkext/gtkbufferdisplay.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c
index 01df570..b9784de 100644
--- a/src/gtkext/gtkbufferdisplay.c
+++ b/src/gtkext/gtkbufferdisplay.c
@@ -465,6 +465,18 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr)
gtk_style_context_restore(context);
+ if (parent->show_border)
+ {
+ gtk_style_context_save(context);
+
+ gtk_style_context_add_class(context, "graph-block");
+
+ gtk_render_background(context, cr, left_margin, area.y, area.width, area.height);
+
+ gtk_style_context_restore(context);
+
+ }
+
/* Ligne de séparation */
gtk_style_context_save(context);