Add a space after the comma when displaying a tag list

svn: r15927
This commit is contained in:
Nick Hall 2010-09-24 20:12:18 +00:00
parent 3812d647e3
commit dc050cd356
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ class PeopleBaseModel(object):
Return the sorted list of tags. Return the sorted list of tags.
""" """
tag_list = map(self.get_tag_name, data[COLUMN_TAGS]) tag_list = map(self.get_tag_name, data[COLUMN_TAGS])
return ','.join(sorted(tag_list, key=locale.strxfrm)) return ', '.join(sorted(tag_list, key=locale.strxfrm))
class PersonListModel(PeopleBaseModel, FlatBaseModel): class PersonListModel(PeopleBaseModel, FlatBaseModel):
""" """

View File

@ -645,7 +645,7 @@ class MonitoredTagList(object):
""" """
Display the tag list. Display the tag list.
""" """
tag_text = ','.join(item[1] for item in self.tag_list) tag_text = ', '.join(item[1] for item in self.tag_list)
self.label.set_text(tag_text) self.label.set_text(tag_text)
self.label.set_tooltip_text(tag_text) self.label.set_tooltip_text(tag_text)