diff options
author | Lucas Rocha <lucasr@gnome.org> | 2007-08-13 20:36:29 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2007-08-13 20:36:29 +0000 |
commit | 8b16d4d4122e6337517ec16b9ca22dd27df0dafb (patch) | |
tree | 4b37fe6193f44fef74d114e8c7eeeef7ab82ac4d /src/zenity.h | |
parent | ae3e8d1496fcfc3bf2ca65e475455bbf4c935e50 (diff) |
added timeout option to all dialogs (Fixes bug #160654). Based on patch
2007-08-13 Lucas Rocha <lucasr@gnome.org>
* src/*.c: added timeout option to all dialogs (Fixes bug #160654).
Based on patch from Muthiah Annamalai <gnumuthu@users.sf.net>.
svn path=/trunk/; revision=1231
Diffstat (limited to 'src/zenity.h')
-rw-r--r-- | src/zenity.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zenity.h b/src/zenity.h index 330d317..ac6c4f8 100644 --- a/src/zenity.h +++ b/src/zenity.h @@ -29,6 +29,7 @@ typedef struct { gint width; gint height; gint exit_code; + guint timeout_delay; } ZenityData; typedef enum { @@ -36,7 +37,8 @@ typedef enum { ZENITY_CANCEL, ZENITY_ESC, ZENITY_ERROR, - ZENITY_EXTRA + ZENITY_EXTRA, + ZENITY_TIMEOUT } ZenityExitCode; typedef struct { |