[pitivi/1.0] clipproperties: Use the new API for setting effect index



commit a5cc0f049b24d99877ad6e997a02ad4c19520ec9
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sun Aug 26 23:08:35 2018 +0200

    clipproperties: Use the new API for setting effect index

 pitivi/clipproperties.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index 0adfed30..4d0af92d 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -379,7 +379,7 @@ class EffectProperties(Gtk.Expander, Loggable):
                                              toplevel=True):
                 effect = self.clip.ui.add_effect(effect_info)
                 if effect:
-                    self.clip.set_top_effect_priority(effect, drop_index)
+                    self.clip.set_top_effect_index(effect, drop_index)
         elif drag_context.get_suggested_action() == Gdk.DragAction.MOVE:
             # An effect dragged from the same treeview to change its position.
             # Source
@@ -431,7 +431,7 @@ class EffectProperties(Gtk.Expander, Loggable):
         with self.app.action_log.started("move effect",
                                          finalizing_action=CommitTimelineFinalizingAction(pipeline),
                                          toplevel=True):
-            clip.set_top_effect_priority(effect, drop_index)
+            clip.set_top_effect_index(effect, drop_index)
 
         new_path = Gtk.TreePath.new()
         new_path.append_index(drop_index)


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