4618: Fix for non-latin characters in filter names
svn: r16612
This commit is contained in:
parent
f56f7e0b5e
commit
150d13bca6
@ -141,7 +141,7 @@ class EventSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -202,7 +202,7 @@ class FamilySidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -150,7 +150,7 @@ class MediaSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -138,7 +138,7 @@ class NoteSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -241,7 +241,7 @@ class PersonSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -152,7 +152,7 @@ class PlaceSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -141,7 +141,7 @@ class RepoSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
@ -125,7 +125,7 @@ class SourceSidebarFilter(SidebarFilter):
|
||||
if self.generic.get_active() != 0:
|
||||
model = self.generic.get_model()
|
||||
node = self.generic.get_active_iter()
|
||||
obj = model.get_value(node, 0)
|
||||
obj = unicode(model.get_value(node, 0))
|
||||
rule = MatchesFilter([obj])
|
||||
generic_filter.add_rule(rule)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user