GNOME Bugzilla – Bug 594439
Do not use gnome-menus to get list of desktop files
Last modified: 2009-09-08 10:35:12 UTC
There's really no point in using gnome-menus to list all desktop files... bug-buddy should simply list all files in the right directories and look at them. To get the list of directories, use g_get_system_data_dirs() and g_get_system_config_dirs(). I'm not even sure it's worth looking at g_get_user_data_dir() and g_get_user_config_dir()...
Created attachment 142658 [details] [review] Remove gnome-menus dependency It was only needed to find all the .desktop files, but we can do this ourselves -- it will be cheaper (no need to parse desktop file twice) and simpler (the code is trivial).
Note that I didn't test the patch -- I'm actually unsure what I should do to test it.
Thanks for the patch, I pushed it to master.