diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-03 18:03:06 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-03 18:03:06 (GMT) |
commit | 878073ed160f816230ab1a26ecf162a13a82648b (patch) | |
tree | 35360b574b75cc861628e1863c75a57813a6e529 /src | |
parent | 4c090f79a50897f7c150f94c84054cfd4a1991ac (diff) |
Remove superfluous code
Diffstat (limited to 'src')
-rw-r--r-- | src/jarabe/journal/misc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jarabe/journal/misc.py b/src/jarabe/journal/misc.py index 3c6ef8e..518d140 100644 --- a/src/jarabe/journal/misc.py +++ b/src/jarabe/journal/misc.py @@ -39,9 +39,7 @@ def _get_icon_file_name(icon_name): icon_theme = gtk.icon_theme_get_default() info = icon_theme.lookup_icon(icon_name, gtk.ICON_SIZE_LARGE_TOOLBAR, 0) if not info: - # display standard icon when icon for mime type is not found - info = icon_theme.lookup_icon('application-octet-stream', - gtk.ICON_SIZE_LARGE_TOOLBAR, 0) + return None fname = info.get_filename() del info return fname |