summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-16 21:12:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-16 21:15:54 +0000
commit567580bddfa7b3d437b072698de77968c6513513 (patch)
tree7c3b6dadc358ce45d9c6cfd1fc67c4fe4560b961
parentce06e01f8b745283b00541cc4e8ac0d907a50554 (diff)
Resolves: tdf#92776 tab names unreadable under Ambiance theme 3.20
thanks Benjamin Change-Id: I7ea0f6c8a8b8b35f864036844f1dc786e1f6bda8 Reviewed-on: https://gerrit.libreoffice.org/30910 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index ba8fb9f4082b..908df09a4db3 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -1204,10 +1204,10 @@ GtkStyleContext* GtkSalGraphics::createNewContext(GtkControlPart ePart, gtk_widg
}
case GtkControlPart::Notebook:
{
- GtkWidgetPath *path = gtk_widget_path_new();
+ GtkWidgetPath *path = gtk_widget_path_copy(gtk_style_context_get_path(mpWindowStyle));
gtk_widget_path_append_type(path, GTK_TYPE_NOTEBOOK);
set_object_name(path, -1, "notebook");
- return makeContext(path, nullptr);
+ return makeContext(path, mpWindowStyle);
}
case GtkControlPart::NotebookStack:
{