[pitivi] pitivi: Storemodel.append only wants strings



commit 30a12f1b0d273882344c96a02f1d936e634da3cf
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Mon Jul 2 17:17:19 2012 -0400

    pitivi: Storemodel.append only wants strings

 pitivi/transitions.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/transitions.py b/pitivi/transitions.py
index be295cf..e83a092 100644
--- a/pitivi/transitions.py
+++ b/pitivi/transitions.py
@@ -272,9 +272,9 @@ class TransitionsListWidget(Signallable, gtk.VBox, Loggable):
                 pass
             else:
                 self.available_transitions[transition.numerator] = transition
-                self.storemodel.append([transition.numerator,
-                                        transition.value_nick,
-                                        transition.value_name,
+                self.storemodel.append([str(transition.numerator),
+                                        str(transition.value_nick),
+                                        str(transition.value_name),
                                         self._getIcon(transition.value_nick)])
 
         # Now that the UI is fully ready, enable searching



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