summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
authorScott Pakin <pakin@lanl.gov>2014-08-05 15:22:12 -0600
committerArx Cruz <arxcruz@gnome.org>2014-10-21 15:22:11 +0200
commit673550b6d326e111867fa78ba4d796045715202e (patch)
treeca8d8eae3c976e532d4e283f3bb393c91e0b4fd0 /src/zenity.h
parentDon't quit zenity when the input stream is closed (diff)
downloadzenity-673550b6d326e111867fa78ba4d796045715202e.tar.gz
zenity-673550b6d326e111867fa78ba4d796045715202e.tar.bz2
zenity-673550b6d326e111867fa78ba4d796045715202e.zip
Added time-remaining support to progress bars
Introduced a --time-remaining command-line option that uses the time and percent complete to extrapolate the time remaining until progress reaches 100%.
Diffstat (limited to 'src/zenity.h')
-rw-r--r--src/zenity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenity.h b/src/zenity.h
index d3606cd4..4cf7a044 100644
--- a/src/zenity.h
+++ b/src/zenity.h
@@ -105,6 +105,7 @@ typedef struct {
gboolean autokill;
gdouble percentage;
gboolean no_cancel;
+ gboolean time_remaining;
} ZenityProgressData;
typedef struct {
bgstack15