[pitivi: 4/8] Show rendering process % in the dialog title bar.
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 4/8] Show rendering process % in the dialog title bar.
- Date: Wed, 22 Sep 2010 09:44:02 +0000 (UTC)
commit 42ff1ff0d5e96b6171a273a7755ca03831132421
Author: Karl Palsson <gnome tweak net au>
Date: Sat Sep 18 14:55:20 2010 +0000
Show rendering process % in the dialog title bar.
Fixes bug: https://bugzilla.gnome.org/show_bug.cgi?id=607243
pitivi/ui/encodingdialog.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index c88eab8..bbac76b 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -114,6 +114,7 @@ class EncodingDialog(GladeWindow, Renderer):
def updatePosition(self, fraction, text):
self.progressbar.set_fraction(fraction)
+ self.window.set_title(_("%.0f%% rendered" % (fraction*100)))
if text is not None:
self.progressbar.set_text(_("About %s left") % text)
@@ -122,6 +123,7 @@ class EncodingDialog(GladeWindow, Renderer):
if self.acting:
self.cancelbutton.set_label("gtk-cancel")
self.progressbar.set_text(_("Rendering"))
+ self.window.set_title(_("0% rendered"))
self.recordbutton.set_sensitive(False)
self.filebutton.set_sensitive(False)
self.settingsbutton.set_sensitive(False)
@@ -137,6 +139,7 @@ class EncodingDialog(GladeWindow, Renderer):
def updateUIOnEOS(self):
self.progressbar.set_text(_("Rendering Complete"))
+ self.window.set_title(_("Rendering Complete"))
self.progressbar.set_fraction(1.0)
self.recordbutton.set_sensitive(False)
self.filebutton.set_sensitive(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]