← Back to team overview

openshot.code team mailing list archive

[Branch ~openshot.code/openshot/main] Rev 526: Reverting commit Rev 485.1.12. This does not work, and prevents the filters from working in othe...

 

------------------------------------------------------------
revno: 526
committer: Jonathan Thomas <Jonathan.Oomph@xxxxxxxxx>
branch nick: openshot
timestamp: Tue 2011-08-30 23:30:56 -0500
message:
  Reverting commit Rev 485.1.12.  This does not work, and prevents the filters from working in other languages.  The transition filters already work for all languages, so if they aren't working in a specific language, it's probably unrelated to this.
modified:
  openshot/windows/IcvTransitions.py


--
lp:openshot
https://code.launchpad.net/~openshot.code/openshot/main

Your team OpenShot Code is subscribed to branch lp:openshot.
To unsubscribe from this branch go to https://code.launchpad.net/~openshot.code/openshot/main/+edit-subscription
=== modified file 'openshot/windows/IcvTransitions.py'
--- openshot/windows/IcvTransitions.py	2011-07-16 15:42:11 +0000
+++ openshot/windows/IcvTransitions.py	2011-08-31 04:30:56 +0000
@@ -36,7 +36,7 @@
 		self.view = view
 		self.project = project
 		self.view.set_item_width(130)
-		self.filter_category = _("Show All")
+		self.filter_category = "Show All"
 		
 		# create a TreeStore
 		self.store = gtk.ListStore(gtk.gdk.Pixbuf, str, str)
@@ -147,7 +147,7 @@
 		_ = self._
 		
 		# 1st match the filter category
-		if self.filter_category == _("Show All"):
+		if self.filter_category == "Show All":
 			
 			if filter:
 				# match text of filter
@@ -158,7 +158,7 @@
 				# no additional text filter 
 				return True
 			
-		elif self.filter_category == _("Common") and my_trans in ("Dissolve", "Wipe bottom to top", 
+		elif self.filter_category == "Common" and my_trans in ("Dissolve", "Wipe bottom to top", 
 															   "Wipe top to bottom", "Wipe left to right", 
 															   "Wipe right to left", "Circle in to out",
 															   "Circle out to in"):