[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/unx

Caolán McNamara caolanm at redhat.com
Thu Nov 24 09:45:51 UTC 2016


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

New commits:
commit 230283a6433551cb8c575cc30aa956ede8c1146b
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
    (cherry picked from commit 739c9780f003bf2628713f04d6e0d20451f14dfb)
    Reviewed-on: https://gerrit.libreoffice.org/30905
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index ca73c1e..f8e093d 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -2360,7 +2360,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