summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-17 21:04:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-17 21:04:50 +0100
commitd786606b33cfc146a3a1f3adf814196993d3b310 (patch)
tree3d284f688805ab62d1ca799344603840c8caf625
parenteb935ee8f511265038a949f74958ae716ac0e8ca (diff)
gtk3: use theme tab font
Change-Id: I3ea5a9e65e62133c910945e603bdc1155c9a07c3
-rw-r--r--vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 22f6de8d5485..0ebc1a2994f9 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -2471,7 +2471,6 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
aStyleSet.SetGroupFont( aFont );
aFont.SetWeight( WEIGHT_BOLD );
- aStyleSet.SetTabFont( aFont ); //pull from notebook style?
aStyleSet.SetTitleFont( aFont );
aStyleSet.SetFloatTitleFont( aFont );
@@ -2608,6 +2607,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
gtk_style_context_get_color(pCStyle, gtk_style_context_get_state(pCStyle), &text_color);
aTextColor = getColor( text_color );
aStyleSet.SetTabTextColor(aTextColor);
+ aStyleSet.SetTabFont(getFont(mpNotebookHeaderTabsTabLabelStyle, rSettings.GetUILanguageTag().getLocale()));
}
// mouse over text colors