[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Fri Oct 21 15:33:12 UTC 2016


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

New commits:
commit 7f6f5519079e3508ac1302aa5907cfc6098c525e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 21 16:31:09 2016 +0100

    Resolves: tdf#103320 pressed buttons appear as hover buttons in toolbar
    
    since...
    
    commit 3498ed37527b7af795f00dc6a55c11e65a313186
    Author: Caolán McNamara <caolanm at redhat.com>
    Date:   Tue Oct 18 13:08:47 2016 +0100
    
        Resolves: tdf#100251 gtk3 toolbar separators are white in Adwaita
    
    so remove setting the parent of the toolbar again, colors remain good
    cause we ended up using gtk_render_background+gtk_render_frame for
    the new-style code path anyway
    
    Change-Id: Idd01537acbd92d6b41e0ff7fa2306b8c49f23ad3

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 8d6c2d0..fc2bb82 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -2941,7 +2941,6 @@ GtkSalGraphics::GtkSalGraphics( GtkSalFrame *pFrame, GtkWidget *pWindow )
     mpLinkButtonStyle = createStyleContext(set_object_name, GtkControlPart::LinkButton);
 
     GtkWidget* pToolbar = gtk_toolbar_new();
-    gtk_container_add(GTK_CONTAINER(gDumbContainer), pToolbar);
     mpToolbarStyle = gtk_widget_get_style_context(pToolbar);
     gtk_style_context_add_class(mpToolbarStyle, GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
     gtk_style_context_add_class(mpToolbarStyle, GTK_STYLE_CLASS_TOOLBAR);


More information about the Libreoffice-commits mailing list