summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.c')
-rw-r--r--src/entry.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entry.c b/src/entry.c
index 390d9b6b..dcd09854 100644
--- a/src/entry.c
+++ b/src/entry.c
@@ -120,6 +120,10 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data)
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