From 7f6f5519079e3508ac1302aa5907cfc6098c525e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Oct 2016 16:31:09 +0100 Subject: Resolves: tdf#103320 pressed buttons appear as hover buttons in toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since... commit 3498ed37527b7af795f00dc6a55c11e65a313186 Author: Caolán McNamara 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 --- vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx') diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index 8d6c2d0e74ac..fc2bb822d447 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); -- cgit