* src/EditPerson,py: allow reordering of event columns

* src/TransTable.py: allow to be initialized with a list instead of a map
* src/gramps.glade: allow reordering of event columns
* src/gramps_main.py: catch program_init exception
* src/ListModel.py: allow reordering of columns


svn: r3230
This commit is contained in:
Don Allingham
2004-06-23 04:54:33 +00:00
parent 6a06bf2c8a
commit e8dd8dde0b
6 changed files with 56 additions and 15 deletions

View File

@@ -105,9 +105,12 @@ class Gramps:
def __init__(self,args):
self.program = gnome.program_init('gramps',const.version,
gnome.libgnome_module_info_get(),
args, const.popt_table)
try:
self.program = gnome.program_init('gramps',const.version,
gnome.libgnome_module_info_get(),
args, const.popt_table)
except:
self.program = gnome.program_init('gramps',const.version)
self.program.set_property('app-libdir','%s/lib' % const.prefixdir)
self.program.set_property('app-datadir','%s/share/gramps' % const.prefixdir)
self.program.set_property('app-sysconfdir','%s/etc' % const.prefixdir)