Bug 18688 - menu.filetrigger does not run for .destop files
Summary: menu.filetrigger does not run for .destop files
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: menu (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-28 22:57 MSK by viy
Modified: 2009-02-10 21:06 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2009-01-28 22:57:29 MSK
proposed patch for menu.filetrigger:
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.

-if egrep -qs '^/etc/menu-methods/|^/usr/(lib|lib64|share)/menu/'; then
+if egrep -qs '^/etc/menu-methods/|^/usr/(lib|lib64|share)/menu/|^/usr/share/applications/.*desktop'; then
         /usr/sbin/update-menus
 fi
Comment 1 viy 2009-01-29 11:16:13 MSK
и в 4.1/5.0 надо бы исправления положить.
Comment 2 Sergey V Turchin 2009-01-30 18:26:04 MSK
menu-2.1.41-alt4
Comment 3 viy 2009-02-08 21:32:52 MSK
(В ответ на комментарий №2)
> menu-2.1.41-alt4

и еще в 5.0 надо бы