Exemple #1
0
 def __tag_editing_started(self, render, editable, path, model, library):
     if not editable.get_completion():
         tags = self.__songinfo.can_change()
         if tags is True:
             tags = USER_TAGS
         completion = qltk.EntryCompletion(tags)
         editable.set_completion(completion)
Exemple #2
0
 def __tag_editing_started(self, render, editable, path, model, library):
     try:
         if not editable.get_completion():
             tags = self.__songinfo.can_change()
             if tags is True:
                 from quodlibet.formats import USEFUL_TAGS as tags
             completion = qltk.EntryCompletion(tags)
             editable.set_completion(completion)
     except AttributeError:
         pass