Got a fix: =================================================================== --- src/gpodder/libpodcasts.py (revision 362) +++ src/gpodder/libpodcasts.py (working copy) @@ -705,14 +705,17 @@
new_model.set( new_iter, 7, '%s\n<small>%s</small>' % ( saxutils.escape( channel.title), saxutils.escape( channel.description.split('\n')[0]), )) - if os.path.exists( channel.cover_file) and os.path.getsize( channel.cover_file) > 0: - new_model.set( new_iter, 8, gtk.gdk.pixbuf_new_from_file_at_size( channel.cover_file, 32, 32)) - else: - iconsize = gtk.icon_size_from_name('channel-icon') - if not iconsize: - iconsize = gtk.icon_size_register('channel-icon',32,32) - icon_theme = gtk.icon_theme_get_default() - new_model.set( new_iter, 8, icon_theme.load_icon('applications-internet', iconsize, 0)) + try: + if os.path.exists( channel.cover_file) and os.path.getsize( channel.cover_file) > 0: + new_model.set( new_iter, 8, gtk.gdk.pixbuf_new_from_file_at_size( channel.cover_file, 32, 32)) + else: + iconsize = gtk.icon_size_from_name('channel-icon') + if not iconsize: + iconsize = gtk.icon_size_register('channel-icon',32,32) + icon_theme = gtk.icon_theme_get_default() + new_model.set( new_iter, 8, icon_theme.load_icon('applications-internet', iconsize, 0)) + except: + pass pos = pos + 1
gpodder-missing-icon-fix.patch
Description: Binary data
_______________________________________________ gpodder-devel mailing list gpodder-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/gpodder-devel