[pitivi] ui/clipproperties.py: We can configure only one clip at a time



commit 19c7936265741b1d562af69adbab1928a88d45b5
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Sep 1 15:40:31 2010 +0200

    ui/clipproperties.py: We can configure only one clip at a time

 pitivi/ui/clipproperties.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index e54c207..80eb022 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -324,7 +324,7 @@ class EffectProperties(gtk.HBox):
     def _updateAll(self):
         #if self.get_expanded():
         self._removeEffectBt.set_sensitive(False)
-        if self.timeline_objects:
+        if len(self.timeline_objects) == 1:
             self._setEffectDragable()
             self._updateTreeview()
             self._updateEffectConfigUi()
@@ -360,7 +360,7 @@ class EffectProperties(gtk.HBox):
     def _showInfoBar(self):
         if self._info_bar is None:
             self.txtlabel, self._info_bar = self.clip_properties.addInfoBar(
-                                _("<span>You must select a clip on the timeline "
+                                _("<span>You must select <b>one</b> clip on the timeline "
                                   "to configure its associated effects</span>"))
         self._info_bar.hide_all()
         self.txtlabel.show()



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