Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-01-03 18:03:06 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-01-03 18:03:06 (GMT)
commit878073ed160f816230ab1a26ecf162a13a82648b (patch)
tree35360b574b75cc861628e1863c75a57813a6e529 /src
parent4c090f79a50897f7c150f94c84054cfd4a1991ac (diff)
Remove superfluous code
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/journal/misc.py4
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