diff --git a/src/menu.cpp b/src/menu.cpp index 18f911b..0d0e47c 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -245,6 +245,7 @@ bool Menu::addLink(string path, string file, string section) { INFO("Manual: '%s'\n", manual.c_str()); string shorttitle=title, description="", exec=path+file, icon=""; + if (fileExists(exename+".png")) icon = exename+".png"; //Reduce title lenght to fit the link width if (gmenu2x->font->getTextWidth(shorttitle)>gmenu2x->skinConfInt["linkWidth"]) {