~ubuntu-branches/ubuntu/utopic/gramps/utopic

« back to all changes in this revision

Viewing changes to src/ExportAssistant.py

  • Committer: Package Import Robot
  • Author(s): James A. Treacy
  • Date: 2012-05-22 17:18:36 UTC
  • mfrom: (39.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120522171836-35fi62lp4w7jnrd7
Tags: 3.4.0-1
* New upstream version
* Updated desktop file. Closes: #667472

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
# along with this program; if not, write to the Free Software
22
22
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23
23
#
 
24
# $Id: ExportAssistant.py 18636 2011-12-19 18:35:23Z m_d_n $
 
25
#
24
26
 
25
27
# Written by B.Malengier
26
28
 
135
137
        if not self.person:
136
138
            self.person = self.dbstate.db.find_initial_person()
137
139
            
138
 
        self.logo      = gtk.gdk.pixbuf_new_from_file(_gramps_png)
139
 
        self.splash    = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
 
140
        try:
 
141
            self.logo      = gtk.gdk.pixbuf_new_from_file(_gramps_png)
 
142
        except:
 
143
            self.logo = None
 
144
        try:
 
145
            self.splash    = gtk.gdk.pixbuf_new_from_file(_splash_jpg)
 
146
        except:
 
147
            self.splash = None
 
148
 
140
149
            
141
150
        pmgr = GuiPluginManager.get_instance()
142
151
        self.__exporters = pmgr.get_export_plugins()