efreet: Don't prefer the second perfect over the first in desktop_exec_find()
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 24 Mar 2017 19:28:37 +0000 (14:28 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 24 Mar 2017 19:59:11 +0000 (14:59 -0500)
commit67e07e5d2d572957fa8a16c662b22baa39d7b643
tree152ce4393b46f3f66b1f37cfdf66635a5a50c693
parentacf4c35fd62116bf1f6e34e9d3949a09ede7f6ad
efreet: Don't prefer the second perfect over the first in desktop_exec_find()

We test a second match for a perfect match, then stop all further processing,
but we never test the first match. This leads to a situation where a system
wide .desktop file is given precedence over a local override.

Instead, check the first match too.

 #test-e
src/lib/efreet/efreet_utils.c