Linux GTK+ >=3.19 only.

Force the toolbox vertical scrollbar to be visible only if using Linux
and GTK+ >=3.19. #3413
This commit is contained in:
Morgan Hardwood
2017-12-17 03:52:07 +01:00
parent 22ac1c89fa
commit 8e151e97c8
2 changed files with 2 additions and 2 deletions

View File

@@ -1366,7 +1366,7 @@ void Options::readFromFile (Glib::ustring fname)
FileBrowserToolbarSingleRow = keyFile.get_boolean ("GUI", "FileBrowserToolbarSingleRow");
}
#ifdef __linux__
#if defined(__linux__) && ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION > 18) || GTK_MAJOR_VERSION > 3)
// Cannot scroll toolbox with mousewheel when HideTPVScrollbar=true #3413
hideTPVScrollbar = false;
#else