pitivi r1420 - trunk/pitivi/ui



Author: edwardrv
Date: Fri Nov 28 17:36:50 2008
New Revision: 1420
URL: http://svn.gnome.org/viewvc/pitivi?rev=1420&view=rev

Log:
property editor chooses module to load based on object factory, not its type

Modified:
   trunk/pitivi/ui/propertyeditor.py

Modified: trunk/pitivi/ui/propertyeditor.py
==============================================================================
--- trunk/pitivi/ui/propertyeditor.py	(original)
+++ trunk/pitivi/ui/propertyeditor.py	Fri Nov 28 17:36:50 2008
@@ -106,7 +106,7 @@
             return
         objs = self.timeline.getSelection()
         if objs:
-            t = same(map(type, objs))
+            t = same((type(obj.factory) for obj in objs))
             if t:
                 widget = self.__get_widget_for_type(t)
             else:



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