summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-01 16:48:22 +0200
committerinfirit <[email protected]>2015-09-06 13:08:31 +0200
commita3ea605d8d2834a1842d2417dfc98c3a2ccc9177 (patch)
tree34a0867a7ddda40935b8c3be5427211670791a2f /data
parent2788b437751963cb933eadbcbc0dd5ff33fa7338 (diff)
downloadeom-a3ea605d8d2834a1842d2417dfc98c3a2ccc9177.tar.bz2
eom-a3ea605d8d2834a1842d2417dfc98c3a2ccc9177.tar.xz
Gtk3 thumbview: Replace deprecated GtkRCStyle usage with a GtkCssProvider
Makes EomThumbNav's scrollbar style similar to gtk2 version inspired from: https://git.gnome.org/browse/eog/commit/?id=4c93c41
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
-rw-r--r--data/eom.css7
2 files changed, 12 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 17331e2..67797eb 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -34,8 +34,13 @@ ui_DATA = \
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = eom.pc
+if HAVE_GTK3
+styledir = $(pkgdatadir)
+style_DATA = eom.css
+else
gtkrcdir = $(pkgdatadir)
gtkrc_DATA = gtkrc
+endif
EXTRA_DIST = \
$(gtkrc_DATA) \
diff --git a/data/eom.css b/data/eom.css
new file mode 100644
index 0000000..33d596f
--- /dev/null
+++ b/data/eom.css
@@ -0,0 +1,7 @@
+EomThumbNav .horizontal.scrollbar {
+ -GtkScrollbar-has-backward-stepper: false;
+ -GtkScrollbar-has-secondary-backward-stepper: false;
+ -GtkScrollbar-has-forward-stepper: false;
+ -GtkScrollbar-has-secondary-forward-stepper: false;
+ -GtkScrollbar-min-slider-length: 60;
+}