summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-07-09 03:22:09 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-07-09 03:22:09 +0000
commit31b08c6baa75c648a3c4128dbc3cc711d4b4b70c (patch)
tree0408c60adf807ce9081d62ad4896e7bad03e1649 /src
parentFix handle for LPERotateCopies (diff)
downloadinkscape-31b08c6baa75c648a3c4128dbc3cc711d4b4b70c.tar.gz
inkscape-31b08c6baa75c648a3c4128dbc3cc711d4b4b70c.zip
remove fractional digits from hscales, we cannot drag with such precision anyway
(bzr r6240)
Diffstat (limited to 'src')
-rw-r--r--src/ege-adjustment-action.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ege-adjustment-action.cpp b/src/ege-adjustment-action.cpp
index c70fcc27d..a8ec26c50 100644
--- a/src/ege-adjustment-action.cpp
+++ b/src/ege-adjustment-action.cpp
@@ -780,6 +780,7 @@ static GtkWidget* create_tool_item( GtkAction* action )
if ( act->private_data->appearanceMode == APPEARANCE_FULL ) {
spinbutton = gtk_hscale_new( act->private_data->adj);
gtk_widget_set_size_request(spinbutton, 100, -1);
+ gtk_scale_set_digits (GTK_SCALE(spinbutton), 0);
#if GTK_CHECK_VERSION(2,12,0)
} else if ( act->private_data->appearanceMode == APPEARANCE_MINIMAL ) {
spinbutton = gtk_scale_button_new( GTK_ICON_SIZE_MENU, 0, 100, 2, 0 );