Since we don't have the Gtk UI anymore, this is mostly a Qt UI (libyui-qt) thing; this is a non-issue for the NCurses UI. One caveat is that the YImage widget may also be used to display other stuff than icons: Big pixmaps of any kind; screenshots or whatever. So we have to be careful to simply cut off a path. But if no path is given, we could simply try loading a theme icon. We'll have to investigate that further.