4156: Database export crash because of entagled jpeg libraries
svn: r18637
This commit is contained in:
parent
143b50e1df
commit
3171988dff
@ -135,8 +135,15 @@ class ExportAssistant(gtk.Assistant, ManagedWindow.ManagedWindow) :
|
|||||||
if not self.person:
|
if not self.person:
|
||||||
self.person = self.dbstate.db.find_initial_person()
|
self.person = self.dbstate.db.find_initial_person()
|
||||||
|
|
||||||
|
try:
|
||||||
self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png)
|
self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png)
|
||||||
|
except:
|
||||||
|
self.logo = None
|
||||||
|
try:
|
||||||
self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
|
self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
|
||||||
|
except:
|
||||||
|
self.splash = None
|
||||||
|
|
||||||
|
|
||||||
pmgr = GuiPluginManager.get_instance()
|
pmgr = GuiPluginManager.get_instance()
|
||||||
self.__exporters = pmgr.get_export_plugins()
|
self.__exporters = pmgr.get_export_plugins()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user