Date:2014-05-17 13:56:16 (7 years 6 months ago)
Author:Paul Cercueil
Commit:fe1a586fb3f11eb13472f2fe77f5594efa07a8fe
Message:Don't consider *.dge files as being executables

Files: src/gmenu2x.cpp (2 diffs)

Change Details

src/gmenu2x.cpp
677677}
678678
679679void GMenu2X::explorer() {
680    FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,elf,");
680    FileDialog fd(this, ts, tr["Select an application"], "sh,bin,py,elf,");
681681    if (fd.exec()) {
682682        if (confInt["saveSelection"] && (confInt["section"]!=menu->selSectionIndex() || confInt["link"]!=menu->selLinkIndex()))
683683            writeConfig();
...... 
885885}
886886
887887void GMenu2X::addLink() {
888    FileDialog fd(this, ts, tr["Select an application"], "dge,sh,bin,py,elf,");
888    FileDialog fd(this, ts, tr["Select an application"], "sh,bin,py,elf,");
889889    if (fd.exec())
890890        menu->addLink(fd.getPath(), fd.getFile());
891891}

Archive Download the corresponding diff file



interactive