From ca811ea43d9559dfab9a09c64daaf4153e4fdae9 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Mon, 8 Jul 2013 12:20:30 -0400 Subject: [PATCH] Match only *.png files for the application icon selector --- src/gmenu2x.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index f5db2cc..61a02a3 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -1186,7 +1186,9 @@ void GMenu2X::editLink() { sd.addSetting(new MenuSettingString(this, ts, tr["Title"], tr["Link title"], &linkTitle, diagTitle, diagIcon)); sd.addSetting(new MenuSettingString(this, ts, tr["Description"], tr["Link description"], &linkDescription, diagTitle, diagIcon)); sd.addSetting(new MenuSettingMultiString(this, ts, tr["Section"], tr["The section this link belongs to"], &newSection, &menu->getSections())); - sd.addSetting(new MenuSettingImage(this, ts, tr["Icon"], tr.translate("Select an icon for the link: $1", linkTitle.c_str(), NULL), &linkIcon, ".png,.bmp,.jpg,.jpeg")); + sd.addSetting(new MenuSettingImage(this, ts, tr["Icon"], + tr.translate("Select an icon for the link: $1", + linkTitle.c_str(), NULL), &linkIcon, "png")); sd.addSetting(new MenuSettingFile(this, ts, tr["Manual"], tr["Select a graphic/textual manual or a readme"], &linkManual, ".man.png,.txt")); #ifdef HAVE_LIBOPK }