summaryrefslogtreecommitdiff
path: root/src/zenity.ui
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.ui
parentfc76e0c19be22d47cf6044ca591f0e01010a1a80 (diff)
downloadzenity-673550b6d326e111867fa78ba4d796045715202e.tar.gz
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.ui')
-rw-r--r--src/zenity.ui12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/zenity.ui b/src/zenity.ui
index 61bea5e..5b40e9e 100644
--- a/src/zenity.ui
+++ b/src/zenity.ui
@@ -870,6 +870,18 @@
<property name="position">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkLabel" id="zenity_progress_time">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>