4156: Database export crash because of entagled jpeg libraries
svn: r18636
This commit is contained in:
parent
49e1d936da
commit
dc4061b410
@ -137,8 +137,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()
|
||||||
|
|
||||||
self.logo = gtk.gdk.pixbuf_new_from_file(_gramps_png)
|
try:
|
||||||
self.splash = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
|
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)
|
||||||
|
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…
Reference in New Issue
Block a user