summaryrefslogtreecommitdiff
path: root/src/caja-pathbar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-29 01:18:58 +0200
committerraveit65 <[email protected]>2016-07-14 16:15:12 +0200
commit6869e571b8c2d1c6185d4b24122a7e5fa88eaf30 (patch)
treec0944bbb8e2b9154e3aba85a921b2c2df0aa7d07 /src/caja-pathbar.c
parent659f67fbb31496f531e1ab7ded63beafba7c0a33 (diff)
downloadcaja-6869e571b8c2d1c6185d4b24122a7e5fa88eaf30.tar.bz2
caja-6869e571b8c2d1c6185d4b24122a7e5fa88eaf30.tar.xz
GTK+-3 pathbar: add slider-button class to sliders
taken from: https://git.gnome.org/browse/nautilus/commit/src?id=00257f2
Diffstat (limited to 'src/caja-pathbar.c')
-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 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);