* src/StartupDialog.py (__init__): Catch Schema errors
svn: r4436
This commit is contained in:
parent
00ce9a19fa
commit
2fa2879c1c
@ -1,6 +1,7 @@
|
||||
2005-04-27 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/gramps_main.py (__init__): Avoid TypeError in schema error
|
||||
message
|
||||
message
|
||||
* src/StartupDialog.py (__init__): Catch Schema errors
|
||||
|
||||
2005-04-26 Alex Roitman <shura@gramps-project.org>
|
||||
* NEWS, configure.in, src/EditPerson.py, src/EditSource.py,
|
||||
|
@ -27,6 +27,7 @@ import gnome
|
||||
import gnome.ui
|
||||
|
||||
import GrampsKeys
|
||||
from QuestionDialog import ErrorDialog
|
||||
|
||||
from gettext import gettext as _
|
||||
|
||||
@ -51,10 +52,18 @@ class StartupDialog:
|
||||
|
||||
d = gnome.ui.Druid()
|
||||
self.w.add(d)
|
||||
d.add(self.build_page1())
|
||||
d.add(self.build_page2())
|
||||
d.add(self.build_page5())
|
||||
d.add(self.build_page_last())
|
||||
try:
|
||||
d.add(self.build_page1())
|
||||
d.add(self.build_page2())
|
||||
d.add(self.build_page5())
|
||||
d.add(self.build_page_last())
|
||||
except:
|
||||
ErrorDialog(_("Configuration error"),
|
||||
_("\n\nPossibly the installation of GRAMPS was incomplete."
|
||||
" Make sure the GConf schema of GRAMPS is properly installed."))
|
||||
gtk.main_quit()
|
||||
return
|
||||
|
||||
|
||||
d.connect('cancel',self.close)
|
||||
self.w.connect("delete_event", gtk.main_quit)
|
||||
|
Loading…
Reference in New Issue
Block a user