diff --git a/deluge/ui/gtkui/filtertreeview.py b/deluge/ui/gtkui/filtertreeview.py index 51cde261c..9354c22ba 100644 --- a/deluge/ui/gtkui/filtertreeview.py +++ b/deluge/ui/gtkui/filtertreeview.py @@ -38,6 +38,7 @@ import os import gtk import logging import warnings +from gobject import GError import deluge.component as component import deluge.common @@ -294,7 +295,7 @@ class FilterTreeView(component.Component): if pix: try: return gtk.gdk.pixbuf_new_from_file(deluge.common.get_pixmap("%s16.png" % pix)) - except Exception, e: + except GError, e: log.warning(e) return self.get_transparent_pix(16, 16)