/usr/share/pyshared/SCRIBES/PluginInitializer/Manager.py is in scribes 0.4~r543-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | from gobject import GObject, SIGNAL_ACTION, SIGNAL_RUN_LAST
from gobject import SIGNAL_NO_RECURSE, TYPE_NONE, TYPE_PYOBJECT
SSIGNAL = SIGNAL_RUN_LAST|SIGNAL_NO_RECURSE|SIGNAL_ACTION
class Manager(GObject):
__gsignals__ = {
"update-python-path": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"validate-path": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"plugin-path-error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"search-path-updated": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"plugin-path-not-found-error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"create-plugin-path": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"plugin-folder-creation-error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"initialized-module": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"validate-language-module": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"valid-module": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"initialize-plugin": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"initialize-module": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"load-plugin": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"unload-plugin": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"loaded-plugin": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"unloaded-plugin": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"active-plugins": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"check-duplicate-plugins": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
}
def __init__(self, editor):
editor.response()
GObject.__init__(self)
from PluginReloader import Reloader
Reloader(self, editor)
from PluginsDestroyer import Destroyer
Destroyer(self, editor)
from PluginsUpdater import Updater
Updater(self, editor)
from PluginUnloader import Unloader
Unloader(self, editor)
from PluginLoader import Loader
Loader(self, editor)
from PluginInitializer import Initializer
Initializer(self, editor)
from PluginValidator import Validator
Validator(self, editor)
from LanguageModuleValidator import Validator
Validator(self, editor)
from ModuleValidator import Validator
Validator(self, editor)
from ModuleInitializer import Initializer
Initializer(self, editor)
from ModuleFinder import Finder
Finder(self, editor)
from ErrorManager import Manager
Manager(self, editor)
from HomePluginPathCreator import Creator
Creator(self, editor)
from PythonPathUpdater import Updater
Updater(self, editor)
from PluginPathErrorHandler import Handler
Handler(self, editor)
from PluginPathValidator import Validator
Validator(self, editor)
from Initializer import Initializer
Initializer(self, editor)
editor.response()
|