changeset 19411:b80379b1f3c6

Specify small and large step values for the volume slider.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 24 Aug 2007 22:19:52 +0000
parents 3650db1f02d3
children 1096aea98217
files finch/gntsound.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntsound.c	Fri Aug 24 22:16:51 2007 +0000
+++ b/finch/gntsound.c	Fri Aug 24 22:19:52 2007 +0000
@@ -996,6 +996,8 @@
 
 	pref_dialog->volume = slider = gnt_slider_new(FALSE, 100, 0);
 	gnt_slider_set_step(GNT_SLIDER(slider), 5);
+	gnt_slider_set_small_step(GNT_SLIDER(slider), 1);
+	gnt_slider_set_large_step(GNT_SLIDER(slider), 20);
 	label = gnt_label_new("");
 	gnt_slider_reflect_label(GNT_SLIDER(slider), GNT_LABEL(label));
 	gnt_box_set_pad(GNT_BOX(tmpbox), 1);