From: buliabyak Date: Wed, 9 Jul 2008 03:22:09 +0000 (+0000) Subject: remove fractional digits from hscales, we cannot drag with such precision anyway X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=59369d8006c1c1a739ff87f4f41dae982ab12b70;p=inkscape.git remove fractional digits from hscales, we cannot drag with such precision anyway --- 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 );