/usr/share/pyshared/SCRIBES/SaveSystem/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 | from gobject import GObject, SIGNAL_ACTION, SIGNAL_RUN_LAST
from gobject import SIGNAL_NO_RECURSE, TYPE_PYOBJECT
from gobject import TYPE_NONE, TYPE_PYOBJECT
SSIGNAL = SIGNAL_RUN_LAST|SIGNAL_NO_RECURSE|SIGNAL_ACTION
class Manager(GObject):
__gsignals__ = {
"session-id": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"save-data": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"save-processor-object": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"save-succeeded": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"saved": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"saved?": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"save-failed": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"readonly-error": (SSIGNAL, TYPE_NONE, ()),
"reset-modification-flag": (SSIGNAL, TYPE_NONE, ()),
"generate-name": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"newname": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"create-new-file": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"remove-new-file": (SSIGNAL, TYPE_NONE, ()),
}
def __init__(self, editor):
editor.response()
GObject.__init__(self)
from AutomaticSaver import Saver
Saver(self, editor)
from FocusOutSaver import Saver
Saver(self, editor)
from UnnamedDocumentCreator import Creator
Creator(self, editor)
from QuitSaver import Saver
Saver(self, editor)
from NewFileRemover import Remover
Remover(self, editor)
from FileModificationMonitor import Monitor
Monitor(self, editor)
from SessionCompleter import Completer
Completer(self, editor)
from FileNameGenerator import Generator
Generator(self, editor)
from NameGenerator import Generator
Generator(self, editor)
from SessionManager import Manager
Manager(self, editor)
from ReadonlyHandler import Handler
Handler(self, editor)
from ErrorDisplayer import Displayer
Displayer(self, editor)
from SaveErrorSignalEmitter import Emitter
Emitter(self, editor)
from SavedSignalEmitter import Emitter
Emitter(self, editor)
from DbusDataReceiver import Receiver
Receiver(self, editor)
from DbusDataSender import Sender
Sender(self, editor)
from DbusSaveProcessorMonitor import Monitor
Monitor(self, editor)
editor.response()
|