diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-09-08 07:52:36 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-09-08 07:52:36 +0000 |
| commit | fc9c76c20e7334d8222feaf49aa0eb9a49f813ef (patch) | |
| tree | 746672d588273734389a060256e817bca8f413a5 /src/widgets | |
| parent | fix node tool for LPEs by reverting r19694 (diff) | |
| download | inkscape-fc9c76c20e7334d8222feaf49aa0eb9a49f813ef.tar.gz inkscape-fc9c76c20e7334d8222feaf49aa0eb9a49f813ef.zip | |
Attempt to fix the 245 floor / 255 page size adjustment problem.
(bzr r6777)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/sp-color-slider.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/widgets/sp-color-slider.cpp b/src/widgets/sp-color-slider.cpp index 4b7771e63..9b1f475fb 100644 --- a/src/widgets/sp-color-slider.cpp +++ b/src/widgets/sp-color-slider.cpp @@ -330,8 +330,11 @@ sp_color_slider_set_adjustment (SPColorSlider *slider, GtkAdjustment *adjustment g_return_if_fail (SP_IS_COLOR_SLIDER (slider)); if (!adjustment) { - adjustment = (GtkAdjustment *) gtk_adjustment_new (0.0, 0.0, 1.0, 0.01, 0.1, 0.1); - } + adjustment = (GtkAdjustment *) gtk_adjustment_new (0.0, 0.0, 1.0, 0.01, 0.0, 0.0); + } else { + gtk_adjustment_set_page_increment(adjustment, 0.0); + gtk_adjustment_set_page_size(adjustment, 0.0); + } if (slider->adjustment != adjustment) { if (slider->adjustment) { |
