コード例 #1
0
 def edit_patterns(cls, button):
     win = JSONBasedEditor(Command, cls.all_commands(),
                           filename=cls.COMS_FILE,
                           title=_("Edit Custom Commands"))
     # Cache busting
     cls._commands = None
     win.show()
コード例 #2
0
ファイル: custom_commands.py プロジェクト: LudoBike/quodlibet
 def edit_patterns(cls, button):
     win = JSONBasedEditor(Command, cls.all_commands(),
                           filename=cls.COMS_FILE,
                           title=_("Edit Custom Commands"))
     # Cache busting
     cls._commands = None
     win.show()
コード例 #3
0
 def edit_patterns(cls, button):
     cls.commands = cls._get_saved_searches()
     win = JSONBasedEditor(Command,
                           cls.commands,
                           filename=cls.COMS_FILE,
                           title=_("Edit Custom Commands"))
     win.show()
コード例 #4
0
 def edit_patterns(cls, button):
     cls.commands = cls._get_saved_searches()
     win = JSONBasedEditor(Command, cls.commands, filename=cls.COMS_FILE,
                           title=_("Edit Custom Commands"))
     win.show()