summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tree.c b/src/tree.c
index 254ac0e7..6dd3f645 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -493,6 +493,11 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_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 ();
if (glade_dialog)
bgstack15