GNOME Bugzilla – Bug 676700
0.13.3: crashes if a .desktop file has no icon defined
Last modified: 2012-06-01 04:22:32 UTC
If a .desktop file has no icon entry defined, alacarte crashes on startup: Traceback (most recent call last):
+ Trace 230262
main()
app.run()
self.loadMenus()
self.loadMenu(iters, menu)
icon = util.getIcon(menu)
info = icon_theme.lookup_by_gicon(gicon, 24, 0)
return info.invoke(*args, **kwargs)
Created attachment 214834 [details] [review] proposed patch
I thought about whether this was the correct approach or not, and it is.