[pitivi] Hide widgets that cannot be used



commit b7d28d86f37f542a5e0ac3f59f9fc6290d899053
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Fri May 20 22:37:44 2011 -0400

    Hide widgets that cannot be used

 pitivi/ui/encodingdialog.py   |    3 +++
 pitivi/ui/encodingprogress.py |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index 9828a38..3eca308 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -123,6 +123,9 @@ class EncodingDialog(GladeWindow, Renderer, Loggable):
         # UI widgets
         self.window.set_icon_from_file(configure.get_pixmap_dir() + "/pitivi-render-16.png")
 
+        # FIXME: re-enable this widget when bug #637078 is implemented
+        self.selected_only_button.destroy()
+
         Renderer.__init__(self, project, pipeline)
 
         # Encoder settings
diff --git a/pitivi/ui/encodingprogress.py b/pitivi/ui/encodingprogress.py
index 7a94fd8..c65b7a9 100644
--- a/pitivi/ui/encodingprogress.py
+++ b/pitivi/ui/encodingprogress.py
@@ -50,6 +50,10 @@ class EncodingProgressDialog(GladeWindow, Signallable):
 
         # UI widgets
         self.window.set_icon_from_file(configure.get_pixmap_dir() + "/pitivi-render-16.png")
+        
+        # FIXME: re-enable these widgets when bugs #650710 and 637079 are fixed
+        self.play_pause_button.hide()
+        self.table1.hide()
 
     def updatePosition(self, fraction, estimated):
         self.progressbar.set_fraction(fraction)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]