[pitivi] clipproperties: Bring back the checkbox to enable/disable effects



commit 0620d40efab39f9c40049fbea38cfb164e19a208
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Sat Feb 9 22:01:02 2013 -0500

    clipproperties: Bring back the checkbox to enable/disable effects

 pitivi/clipproperties.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index e0e39f2..e14cfba 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -166,7 +166,7 @@ class EffectProperties(Gtk.Expander):
         removeEffectButton.set_is_important(True)
         self._toolbar.insert(removeEffectButton, 0)
 
-        # Treeview to display a list of effects (type and name)
+        # Treeview to display a list of effects (checkbox, effect type and name)
         self.treeview_scrollwin = Gtk.ScrolledWindow()
         self.treeview_scrollwin.set_policy(Gtk.PolicyType.NEVER,
                                            Gtk.PolicyType.AUTOMATIC)
@@ -183,6 +183,8 @@ class EffectProperties(Gtk.Expander):
         activatedcell = Gtk.CellRendererToggle()
         activatedcell.props.xpad = PADDING
         activatedcell.connect("toggled", self._effectActiveToggleCb)
+        activatedcol = self.treeview.insert_column_with_attributes(-1,
+                            _("Active"), activatedcell, active=COL_ACTIVATED)
 
         typecol = Gtk.TreeViewColumn(_("Type"))
         typecol.set_sort_column_id(COL_TYPE)


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