diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-21 16:31:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-21 16:31:12 +0100 |
commit | 7f6f5519079e3508ac1302aa5907cfc6098c525e (patch) | |
tree | 425d5f45f8ddf0af8ea537cfe03e7ebb8471f43c /vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | |
parent | 28fe78604ca46319ae596d04ddca206e6b2672a7 (diff) |
Resolves: tdf#103320 pressed buttons appear as hover buttons in toolbar
since...
commit 3498ed37527b7af795f00dc6a55c11e65a313186
Author: Caolán McNamara <caolanm@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
Diffstat (limited to 'vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx')
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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); |