~photostory/photostory/cleanup

« back to all changes in this revision

Viewing changes to photostory

  • Committer: David Turner
  • Date: 2011-01-23 07:58:55 UTC
  • Revision ID: finalfantasykid13@gmail.com-20110123075855-a1eqozq87s08bx13
-Fixed bug #672272: The program now starts if the logo is missing

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
        self.win.set_default_size(900, 600)
223
223
        self.win.set_resizable(False)
224
224
        self.win.set_title("Photostory")
225
 
        self.win.set_icon_from_file("photostory.svg")
 
225
        if os.path.exists("photostory.svg"):
 
226
            win.set_icon_from_file("photostory.svg")
226
227
        movie = gtk.DrawingArea()
227
228
        movie.set_size_request(320, 240)
228
229
        hbox = gtk.HBox(homogeneous=False, spacing=3)