Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

changeset: raise on icon file open errors

refs #784

Changeset 4ac08fe7c8cc

Parent f27f08cac337

by Adrian Buehlmann

Changes to one file · Browse files at 4ac08fe7c8cc Showing diff from parent f27f08cac337 Diff from another changeset...

 
680
681
682
 
 
 
683
684
685
 
680
681
682
683
684
685
686
687
688
@@ -680,6 +680,9 @@
    def get_pixbuf(iconfilename):   iconpath = paths.get_tortoise_icon(iconfilename) + if iconpath == None: + raise (_("could not open icon file '%s' (check install)") + % iconfilename)   return gtk.gdk.pixbuf_new_from_file_at_size(   iconpath, iconw, iconh)