From 6869e571b8c2d1c6185d4b24122a7e5fa88eaf30 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 29 Jun 2016 01:18:58 +0200 Subject: GTK+-3 pathbar: add slider-button class to sliders taken from: https://git.gnome.org/browse/nautilus/commit/src?id=00257f2 --- src/caja-pathbar.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c index a223d481..626a85e7 100644 --- a/src/caja-pathbar.c +++ b/src/caja-pathbar.c @@ -355,6 +355,10 @@ caja_path_bar_init (CajaPathBar *path_bar) #if GTK_CHECK_VERSION(3, 0, 0) path_bar->up_slider_button = get_slider_button (path_bar, "pan-start-symbolic"); path_bar->down_slider_button = get_slider_button (path_bar, "pan-end-symbolic"); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (path_bar->up_slider_button)), + "slider-button"); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (path_bar->down_slider_button)), + "slider-button"); #else path_bar->up_slider_button = get_slider_button (path_bar, GTK_ARROW_LEFT); path_bar->down_slider_button = get_slider_button (path_bar, GTK_ARROW_RIGHT); -- cgit v1.2.1