1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-04 20:48:54 +03:00

Add *.elf to the filter of the explorer and the "add link" dialog

This commit is contained in:
Paul Cercueil 2013-07-08 02:27:53 -04:00
parent aa8b21e076
commit e1968c3830

View File

@ -794,7 +794,7 @@ void GMenu2X::main() {
}
void GMenu2X::explorer() {
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,");
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,elf,");
if (fd.exec()) {
if (confInt["saveSelection"] && (confInt["section"]!=menu->selSectionIndex() || confInt["link"]!=menu->selLinkIndex()))
writeConfig();
@ -1148,7 +1148,7 @@ void GMenu2X::changeWallpaper() {
}
void GMenu2X::addLink() {
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,");
FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,elf,");
if (fd.exec()) {
menu->addLink(fd.getPath(), fd.getFile());
sync();