~/.local has higher priority than /usr
commit8ab61c39cba6c42aa8baecb610a399b940f3ed99
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 4 Sep 2013, 21:27 (13 years ago)
parent965df0e
plugins/Unity/Launcher/backend/launcherbackend.cpp+1−1
@@ -263,8 +263,8 @@ QString LauncherBackend::findDesktopFile(const QString &appId) const
263263 QString helper = appId;
264264
265265 QStringList searchDirs;
266− searchDirs << "/usr/share/applications";
267266 searchDirs << QDir::homePath() + "/.local/share/applications";
267+ searchDirs << "/usr/share/applications";
268268
269269// FIXME: Right now the appId can be (or rather is) a full path
270270// to a .desktop file. This will change in the future.