kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=1922725db45a179ab8cbf1add1bd9d1cbb70c0a0
commit 1922725db45a179ab8cbf1add1bd9d1cbb70c0a0 Author: Kim Woelders <k...@woelders.dk> Date: Sat Oct 5 11:16:27 2013 +0200 Fix menu generation some more. Stop .desktop file processing when seeing a section other than [Desktop Entry]. The previous fix in this area didn't do it properly. Noted by Len E. --- scripts/e_gen_menu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/e_gen_menu b/scripts/e_gen_menu index 94178c3..a552536 100755 --- a/scripts/e_gen_menu +++ b/scripts/e_gen_menu @@ -197,8 +197,9 @@ sub ProcessFile { open(FI,$f) or return; while (<FI>) { s/\s+$//; - if (/^\[Desktop\s+(\w+)/) { - last if ($1 ne "Entry"); + if (/^\[(\w+)\s+(\w+)/) { + # Note: This breaks if [Desktop Entry] is not the first + last if (($1 ne "Desktop") or ($2 ne "Entry")); } elsif (/^Name=(.*)$/) { $Name = $1; } elsif ($loc1 && /^Name\[$loc1\]=(.*)$/) { --