Summary: | TryExec has no effect | ||
---|---|---|---|
Product: | [Unmaintained] kdesktop | Reporter: | cobaco |
Component: | general | Assignee: | David Faure <faure> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | finex, sandro.jaeckel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
cobaco
2007-04-15 13:46:38 UTC
this works as expected in the menu BTW, so it's only the desktop icons that ignore it. Reason we'd use this is that debian-edu ships with links to edu-software on the desktop for students, but not all schools have all edu-software installed here is a diff fixing this : diff -Nur kdebase-3.5.7/kdesktop/kdiconview.cc kdebase-3.5.7.new/kdesktop/kdiconview.cc --- kdebase-3.5.7/kdesktop/kdiconview.cc 2007-10-11 17:19:49.000000000 +0200 +++ kdebase-3.5.7.new/kdesktop/kdiconview.cc 2007-10-11 17:20:09.000000000 +0200 @@ -919,6 +919,11 @@ if (cfg.readListEntry("NotShowIn", ';').contains("KDE")) return false; } + if (cfg.hasKey("TryExec")) + { + if (KStandardDirs::findExe( cfg.readEntry( "TryExec" ) ).isEmpty()) + return false; + } QString name = cfg.readEntry("Name"); if ( !name.isEmpty() ) SVN commit 724191 by dfaure: Apply patch from Anthony Mercatante which makes kdesktop support TryExec for .desktop files on the desktop. Thanks! BUG: 144251 M +6 -1 kdiconview.cc WebSVN link: http://websvn.kde.org/?view=rev&revision=724191 Bug closed. Kdesktop is no more mantained. |