From b6dc8005f32c50bb3eb37f8fe17bdebf2f296e81 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Wed, 31 Aug 2016 21:01:49 -0400 Subject: GTK3: stop warning spew from sidebar, pathbar The button underallocation warnings came from pathbar sliders picking up padding from themes, then being forced to render to a smaller size in the code. The GTK_ICON_LOOKUP_GENERIC_FALLBACK warnings came from the sidebar icons, this flag is now a source of errors. Unfortunately NULL does not work, so set GTK_ICON_LOOKUP_FORCE_SIZE, which does not create errors and ensures the icon size we actually want in the sidebar is used anyway. Stops all but two of the warnings listed in https://github.com/mate-desktop/caja/issues/561 --- data/caja.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'data') diff --git a/data/caja.css b/data/caja.css index 1d3f629d..2aedab75 100644 --- a/data/caja.css +++ b/data/caja.css @@ -62,3 +62,8 @@ border-width: 0px; border-style: none; } + +/* Padding in slider buttons causes GTK errors in GTK 3.20 or later */ +.caja-navigation-window .slider-button { + padding: 0px; +} -- cgit v1.2.1