After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139090 - distribution.c: move distro-specific checks to vfolders
distribution.c: move distro-specific checks to vfolders
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-05 01:05 UTC by Link Dupont
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Link Dupont 2004-04-05 01:05:58 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.
Comment 1 Mark McLoughlin 2004-04-05 06:32:24 UTC
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.
Comment 2 Link Dupont 2004-04-05 16:49:27 UTC
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.
Comment 3 Christian Neumair 2004-10-27 15:55:18 UTC
Closing as desired in comment #5 from bug #143963:
http://bugzilla.gnome.org/show_bug.cgi?id=143963#c5