[pitivi: 16/19] Fix for bug 635126 - The Effects configurations list is not cleared
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 16/19] Fix for bug 635126 - The Effects configurations list is not cleared
- Date: Wed, 24 Nov 2010 10:31:16 +0000 (UTC)
commit b8cab6535bc8767a613234f81faa16dd5101865c
Author: Thibault Saunier <tsaunier gnome org>
Date: Tue Nov 23 11:46:11 2010 +0000
Fix for bug 635126 - The Effects configurations list is not cleared
pitivi/ui/clipproperties.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index 8c4b312..6fd0dc2 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -71,6 +71,7 @@ class ClipProperties(gtk.VBox, Loggable):
self.pack_start(self.info_bar_box, expand=False, fill=True)
self.pack_end(self.effect_expander, expand=True, fill=True)
+
self.info_bar_box.show()
self.effect_expander.show()
self.show()
@@ -201,6 +202,8 @@ class EffectProperties(gtk.HBox):
self.treeview.connect("query-tooltip", self._treeViewQueryTooltipCb)
self._vcontent.connect("notify", self._vcontentNotifyCb)
self.treeview.set_headers_clickable(False)
+ self.app.connect("new-project-loaded",
+ self._newProjectLoadedCb)
#self.connect('notify::expanded', self._expandedCb)
@@ -210,6 +213,11 @@ class EffectProperties(gtk.HBox):
self._showInfoBar()
self._vcontent.show()
+ def _newProjectLoadedCb(self, app, project):
+ self.clip_properties.project = project
+ self.selected_effects = self.timeline.selection.getSelectedTrackEffects()
+ self._updateAll()
+
def _vcontentNotifyCb(self, paned, gparamspec):
if gparamspec.name == 'position':
self._config_ui_h_pos = self._vcontent.get_position()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]