GNOME Bugzilla – Bug 139090
distribution.c: move distro-specific checks to vfolders
Last modified: 2004-12-22 21:47:04 UTC
I am suggesting that the distribution-specific code (found in distribution.c) get moved to vfolder's. It just doesn't seem right to have distro-specific code hard-coded into the source. It doesn't seem like to hard of a task to move these menus out into vfolder format either. At least on debian, the 'menu' package generates .desktop files, so adding a <ParentLink> tag to the a vfolder should create an entry for it okay. As yet, I haven't figured out how (via the current vfolder setup) to get new items below that horizontal rule thingie. I recall XD2 having entries below a horizontal rule, but I don't know if it was a patch or not. I can provide screenshots of the existing menu if needed.
Actually, I think we should remove the distribution specific menus. Distributions can easily edit the menus and include the distribution specific menus into the main applications menu tree.
I guess I wasn't clear enough in my reason for opening this bug. I _do_ want the distro specific code removed. I think it should be in the vfolder info instead. I'm guessing that code is spillover from the old days when that was the best way to get menu integration, but now its more easily done in the vfolder-info end. I've been trying to hack up my applications-all-users.vfolder-info and get it to appear like the current distribution Debian menu, but I can't get the folder to sort in an order other than alphabetical. And I'm not sure how to make the separator bar either. IIRC, XD2 has a separator like that, but I can't for the life of me figure out how they do it.
Closing as desired in comment #5 from bug #143963: http://bugzilla.gnome.org/show_bug.cgi?id=143963#c5