summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2022-09-21 23:24:04 +0000
committerLogan Rathbone <poprocks@gmail.com>2022-09-21 23:24:04 +0000
commit24efb2ba8d3df889a3476bde1267b4bfdc2a4986 (patch)
tree900e03a0cfd4c2fec581e360a2855e67430afd71 /src
parentUpdate Turkish translation (diff)
parentscale: set a page increment so mouse wheel can be used on widget (diff)
downloadzenity-24efb2ba8d3df889a3476bde1267b4bfdc2a4986.tar.gz
zenity-24efb2ba8d3df889a3476bde1267b4bfdc2a4986.tar.bz2
zenity-24efb2ba8d3df889a3476bde1267b4bfdc2a4986.zip
Merge branch 'master' into 'master'
scale: set a page increment so mouse wheel can be used on widget Closes #30 See merge request GNOME/zenity!21
Diffstat (limited to 'src')
-rw-r--r--src/scale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scale.c b/src/scale.c
index 7e6686b3..42284f57 100644
--- a/src/scale.c
+++ b/src/scale.c
@@ -114,7 +114,8 @@ zenity_scale (ZenityData *data, ZenityScaleData *scale_data) {
gtk_range_set_range (
GTK_RANGE (scale), scale_data->min_value, scale_data->max_value);
gtk_range_set_value (GTK_RANGE (scale), scale_data->value);
- gtk_range_set_increments (GTK_RANGE (scale), scale_data->step, 0);
+ gtk_range_set_increments (
+ GTK_RANGE (scale), scale_data->step, scale_data->step);
if (scale_data->print_partial)
g_signal_connect (G_OBJECT (scale),
bgstack15