[pitivi] clipproperties: Disable sorting of the clip's effects



commit b054f9fb1fb2c453da1d7bf19b2534bd8bbad061
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sun May 4 02:25:08 2014 +0200

    clipproperties: Disable sorting of the clip's effects

 pitivi/clipproperties.py |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/clipproperties.py b/pitivi/clipproperties.py
index ca0a96b..3e9a500 100644
--- a/pitivi/clipproperties.py
+++ b/pitivi/clipproperties.py
@@ -140,14 +140,11 @@ class EffectProperties(Gtk.Expander, Loggable):
     """
     Widget for viewing and configuring effects
 
-    @type instance: C{Pitivi}
+    @type app: C{Pitivi}
     @type effects_properties_manager: C{EffectsPropertiesManager}
     """
-    # Note: This should be inherited from Gtk.Expander when we get other things
-    # to put in ClipProperties, that is why this is done this way
 
     def __init__(self, app, effects_properties_manager, clip_properties):
-        # Set up the expander widget that will contain everything:
         Gtk.Expander.__init__(self)
         self.set_expanded(True)
         self.set_label(_("Effects"))
@@ -195,7 +192,6 @@ class EffectProperties(Gtk.Expander, Loggable):
                             _("Active"), activatedcell, active=COL_ACTIVATED)
 
         typecol = Gtk.TreeViewColumn(_("Type"))
-        typecol.set_sort_column_id(COL_TYPE)
         typecol.set_spacing(SPACING)
         typecol.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
         typecell = Gtk.CellRendererText()
@@ -206,7 +202,6 @@ class EffectProperties(Gtk.Expander, Loggable):
         self.treeview.append_column(typecol)
 
         namecol = Gtk.TreeViewColumn(_("Effect name"))
-        namecol.set_sort_column_id(COL_NAME_TEXT)
         namecol.set_spacing(SPACING)
         namecell = Gtk.CellRendererText()
         namecell.props.xpad = PADDING


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