pitivi r1230 - in trunk: . pitivi/ui
- From: edwardrv svn gnome org
- To: svn-commits-list gnome org
- Subject: pitivi r1230 - in trunk: . pitivi/ui
- Date: Sat, 2 Aug 2008 10:21:11 +0000 (UTC)
Author: edwardrv
Date: Sat Aug 2 10:21:11 2008
New Revision: 1230
URL: http://svn.gnome.org/viewvc/pitivi?rev=1230&view=rev
Log:
Patch by: Kristian Rumberg <kristianrumberg at gmail dot com>
* pitivi/ui/mainwindow.py:
Deactivate file button and modify button when rendering is started.
Modified:
trunk/ChangeLog
trunk/pitivi/ui/mainwindow.py
Modified: trunk/pitivi/ui/mainwindow.py
==============================================================================
--- trunk/pitivi/ui/mainwindow.py (original)
+++ trunk/pitivi/ui/mainwindow.py Sat Aug 2 10:21:11 2008
@@ -512,6 +512,8 @@
self.eosid = self.bus.connect("message::eos", self._eosCb)
self.outfile = None
self.progressbar = self.widgets["progressbar"]
+ self.filebutton = self.widgets["filebutton"]
+ self.settingsbutton = self.widgets["settingsbutton"]
self.cancelbutton = self.widgets["cancelbutton"]
self.recordbutton = self.widgets["recordbutton"]
self.recordbutton.set_sensitive(False)
@@ -565,6 +567,8 @@
self.cancelbutton.set_label("gtk-cancel")
self.progressbar.set_text(_("Rendering"))
self.recordbutton.set_sensitive(False)
+ self.filebutton.set_sensitive(False)
+ self.settingsbutton.set_sensitive(False)
else:
self.progressbar.set_text(_("Couldn't start rendering"))
@@ -590,6 +594,8 @@
self.progressbar.set_text(_("Rendering Complete"))
self.progressbar.set_fraction(1.0)
self.recordbutton.set_sensitive(True)
+ self.filebutton.set_sensitive(True)
+ self.settingsbutton.set_sensitive(True)
self.cancelbutton.set_label("gtk-close")
def _cancelButtonClickedCb(self, unused_button):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]