[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Wed Nov 16 13:53:14 UTC 2016
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 739c9780f003bf2628713f04d6e0d20451f14dfb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Nov 16 13:47:48 2016 +0000
Related: lp#1580537 tdf#103915 don't set toolbars as primary
because under Ambiance there are dark primary toolbars and light panels and
currently we can only render the same icons in the same colors on each.
Breeze was explicitly selected as the default icon set to use under unity
in
commit c0da1080b61a1d51654fc34fdaeba373226065ff
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Sat Feb 27 14:30:01 2016 +0100
lp#1506544 tdf#92458: default to breeze theme on unity desktops
Change-Id: I1e0e10d1561e32c5904e0e7352e914bb62b85363
and the downstream workaround of lp#1580537 for this problem is to turn
libreoffice toolbars light.
glade has toolbar and a panel, both of them are light, so best solution
I can see is to remove the primary class from our toolbars.
Change-Id: I2f94ff52d56af1806e2b80b97e4ae2c4c82ae57e
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index c4dff0b..ba8fb9f 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -2943,7 +2943,6 @@ GtkSalGraphics::GtkSalGraphics( GtkSalFrame *pFrame, GtkWidget *pWindow )
GtkWidget* pToolbar = gtk_toolbar_new();
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);
GtkToolItem *item = gtk_separator_tool_item_new();
More information about the Libreoffice-commits
mailing list