Changeset 4ac08fe7c8cc…
Parent f27f08cac337…
by
Changes to one file · Browse files at 4ac08fe7c8cc Showing diff from parent f27f08cac337 Diff from another changeset...
@@ -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)
|
Loading...