summaryrefslogtreecommitdiff
path: root/src/scale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scale.c')
-rw-r--r--src/scale.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scale.c b/src/scale.c
index cacb083a..91b0ef5f 100644
--- a/src/scale.c
+++ b/src/scale.c
@@ -93,6 +93,11 @@ zenity_scale (ZenityData *data, ZenityScaleData *scale_data)
gtk_scale_set_draw_value (GTK_SCALE (scale), FALSE);
zenity_util_show_dialog (dialog);
+
+ if(data->timeout_delay > 0) {
+ g_timeout_add (data->timeout_delay * 1000, (GSourceFunc) zenity_util_timeout_handle, NULL);
+ }
+
gtk_main ();
}
bgstack15