summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-pathbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index 3fae370e..ce39fa9b 100644
--- a/src/caja-pathbar.c
+++ b/src/caja-pathbar.c
@@ -2056,6 +2056,10 @@ make_directory_button (CajaPathBar *path_bar,
setup_button_type (button_data, path_bar, path);
button_data->button = gtk_toggle_button_new ();
+#if GTK_CHECK_VERSION(3,0,0)
+ gtk_style_context_add_class (gtk_widget_get_style_context (button_data->button),
+ "text-button");
+#endif
#if GTK_CHECK_VERSION(3,20,0)
gtk_widget_set_focus_on_click (button_data->button, FALSE);
#else