/usr/share/pyshared/SCRIBES/URILoader/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 | from gobject import GObject, SIGNAL_ACTION, SIGNAL_RUN_LAST
from gobject import SIGNAL_NO_RECURSE, TYPE_OBJECT, TYPE_STRING
from gobject import TYPE_NONE, TYPE_INT, TYPE_PYOBJECT
SSIGNAL = SIGNAL_RUN_LAST|SIGNAL_NO_RECURSE|SIGNAL_ACTION
class Manager(GObject):
__gsignals__ = {
"init-loading": (SSIGNAL, TYPE_NONE, (TYPE_STRING, TYPE_STRING)),
"process-encoding": (SSIGNAL, TYPE_NONE, (TYPE_STRING, TYPE_STRING)),
"insertion-error": (SSIGNAL, TYPE_NONE, (TYPE_STRING, TYPE_STRING)),
"load-success": (SSIGNAL, TYPE_NONE, (TYPE_STRING, TYPE_STRING)),
"insert-text": (SSIGNAL, TYPE_NONE, (TYPE_STRING, TYPE_STRING, TYPE_STRING)),
"read-uri": (SSIGNAL, TYPE_NONE, (TYPE_STRING,)),
"check-file-type": (SSIGNAL, TYPE_NONE, (TYPE_STRING,)),
"error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"NoFeedbackError": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"destroy": (SSIGNAL, TYPE_NONE, ()),
"encoding-error": (SSIGNAL, TYPE_NONE, (TYPE_STRING,)),
"gio-error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"unhandled-gio-error": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
"ErrorNotMounted": (SSIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)),
}
def __init__(self, editor, uri, encoding):
editor.response()
GObject.__init__(self)
from Destroyer import Destroyer
Destroyer(self, editor)
from FileMounter import Mounter
Mounter(self, editor)
from GIOErrorHandler import Handler
Handler(self, editor)
from BusyManager import Manager
Manager(self, editor)
from StateNotifier import Notifier
Notifier(self, editor)
from ErrorManager import Manager
Manager(self, editor)
from TextInserter import Inserter
Inserter(self, editor)
from EncodingProcessor import Processor
Processor(self, editor)
from URIReader import Reader
Reader(self, editor)
from FileTypeChecker import Checker
Checker(self, editor)
from Initializer import Initializer
Initializer(self, editor, uri, encoding)
editor.response()
|