]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GWorkArea.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GWorkArea.C
index 4aa8ef86d32f8015bbdedcc7157a6b4d36ab5a36..4442e4b0c8ec6ec35246d89faa34996026291604 100644 (file)
 
 #include <config.h>
 
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
 #include "GWorkArea.h"
 #include "GView.h"
 #include "GtkmmX.h"
@@ -339,7 +344,7 @@ void GWorkArea::setScrollbarParams(int height, int pos, int line_height)
                adjustment->changed();
                return;
        }
-       adjustment->set_step_increment(line_height);
+       adjustment->set_step_increment(line_height * 3);
        adjustment->set_page_increment(workAreaHeight - line_height);
        // Allow the user half a screen of blank at the end
        // to make scrollbar consistant with centering the cursor