From c3b2b0a0223aa18cae06259304842e4af5ac1529 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 6 Nov 2013 10:23:58 +0100 Subject: [PATCH] EelEditableLabel: Render background Without this the rename widget background is always transparent, which makes it very hard to read on e.g. the desktop with a background image. --- eel/eel-editable-label.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c index 0da68fd..f348a90 100644 --- a/eel/eel-editable-label.c +++ b/eel/eel-editable-label.c @@ -1504,6 +1504,11 @@ eel_editable_label_draw (GtkWidget *widget, label = EEL_EDITABLE_LABEL (widget); style = gtk_widget_get_style_context (widget); + gtk_render_background (style, cr, + 0, 0, + gtk_widget_get_allocated_width (widget), + gtk_widget_get_allocated_height (widget)); + eel_editable_label_ensure_layout (label, TRUE); if (gtk_widget_get_visible (widget) && gtk_widget_get_mapped (widget) && -- 1.8.4.2