[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/unx

Caolán McNamara caolanm at redhat.com
Thu Aug 18 16:20:22 UTC 2016


 vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit a355897f3efd562b7ac9b962877b6c104cd5a90e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Aug 11 16:17:54 2016 +0100

    Resolves: tdf#100250 scrollbar has no bg
    
    Change-Id: I48e26b775337809759f8a76be7a9c457c94cd5c9
    (cherry picked from commit 176111160ddfbe4b6b36b300062bab156d46b211)
    Reviewed-on: https://gerrit.libreoffice.org/28059
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index b5fb915c..0365c52 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -439,6 +439,11 @@ void GtkSalGraphics::PaintScrollbar(GtkStyleContext *context,
     gtk_render_background(gtk_widget_get_style_context(gCacheWindow), cr, 0, 0,
                           scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
 
+    gtk_render_background(context, cr, 0, 0,
+                          scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
+    gtk_render_frame(context, cr, 0, 0,
+                     scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
+
     gtk_render_background(pScrollbarContentsStyle, cr, 0, 0,
                           scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
     gtk_render_frame(pScrollbarContentsStyle, cr, 0, 0,


More information about the Libreoffice-commits mailing list