summaryrefslogtreecommitdiff
path: root/src/caja-sidebar-title.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-sidebar-title.c')
-rw-r--r--src/caja-sidebar-title.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/caja-sidebar-title.c b/src/caja-sidebar-title.c
index fc40659f..1907b370 100644
--- a/src/caja-sidebar-title.c
+++ b/src/caja-sidebar-title.c
@@ -449,6 +449,7 @@ update_title_font (CajaSidebarTitle *sidebar_title)
}
context = gtk_widget_get_style_context (GTK_WIDGET (sidebar_title));
+ state = gtk_widget_get_state_flags (GTK_WIDGET (sidebar_title));
gtk_style_context_get (context, state, GTK_STYLE_PROPERTY_FONT, &title_font, NULL);
max_style_font_size = pango_font_description_get_size (title_font) * 1.8 / PANGO_SCALE;
if (max_style_font_size < MIN_TITLE_FONT_SIZE + 1)