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:
parent
dac1e49238
commit
fe1a586fb3
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user