Пример #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
 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()