1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-17 20:14:03 +02:00

Don't consider *.dge files as being executables

This commit is contained in:
Paul Cercueil 2014-05-17 13:56:16 +02:00
parent dac1e49238
commit fe1a586fb3

View File

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