Start convertion to introspection. Flat models work, as does relationship view

svn: r19858
This commit is contained in:
Benny Malengier
2012-06-17 21:25:37 +00:00
parent 0c447be83d
commit faed8a9f5f
256 changed files with 4420 additions and 4143 deletions

View File

@@ -67,14 +67,14 @@ log = logging.getLogger('BuildApp')
log.addHandler(console)
class buildbase(gobject.GObject):
class buildbase(GObject.GObject):
__gsignals__={
"build_progresstext" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, [gobject.TYPE_STRING]),
"build_progressfraction" : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, [gobject.TYPE_FLOAT]),
"build_progresstext" : (GObject.SignalFlags.RUN_LAST, None, [GObject.TYPE_STRING]),
"build_progressfraction" : (GObject.SignalFlags.RUN_LAST, None, [GObject.TYPE_FLOAT]),
}
def __init(self):
gobject.GObject.__init__(self)
GObject.GObject.__init__(self)
self.gramps_version = 'VERSION-UNKNOWN'
self.bTarball = bTarball
self.build_root = '.' # the directory were the build source is located
@@ -636,4 +636,4 @@ Options:
#==========================
sys.exit(buildGRAMPS(repository_path,out_dir, bTarball))
gobject.type_register(buildbase)
GObject.type_register(buildbase)