Apache OpenOffice (AOO) Bugzilla – Issue 11738
Fix the gnome-menu-entries for GNOME2
Last modified: 2004-02-17 12:57:05 UTC
The Icons from OpenOffice.org are all shown in the Menu Applications->Others in GNOME2
Created attachment 4839 [details] This patch fixes the missing categorie entry in oo_1.0.2_src/sysui/oounix/office/gnome/gnomeint
I am working for an addition to get the Setup and PrinterAdmin icons from Applications -> Others to Applications -> System .
.
armin, I think Kevin owns gnomeint
Created attachment 5386 [details] small fixed patch ....
retargeting
reassigned to mh
mh->khendricks: can you please review this ?
Hi Jan, The patches look sound. But I thought this was all reworked for OOo 1.1? Are these patches for OOo 1.0.X or OOo 1.1 or Both? I thought OOo 1.0.X only did desktop integration for gnome 1 and that stuff for gnome 2 was not introduced until 1.1? Either way since I am not a GNOME user and never have been (I like KDE too much!) perhaps either Chris or Jan would be a better maintainer for the GNOME side of the desktop in sysui. Please let me know if either of you are itnerested and what solution should be put in place for OOo 1.1 if this patch will not work for both. Thanks, Kevin Kevin
Hi Jan, Since I still need to deal with this isuse, could you let me know if the problem still exists in OOo 1.1 Beta2 and later and if so please update your patch if necessary. Unfortunately, I am not a GNOME 2 user and I have no way of testing this. Kevin
OpenOffice 1.1 RC still doesn't appear in Gnome2 menus :( Please, fix this bug before OOo 1.1 final
It's very simple to add OpenOffice into Gnome2 menu: 1. Put .desktop files in ~/.gnome2/vfolders/applications (It seems, that OOo 1.1 RC already does this correctly) 2. register these files in ~/.gnome2/vfolders/applications.vfolder-info Look at http://www.freedesktop.org/standards/menu-spec/ for more info about this. I attached example ~/.gnome2/vfolders/applications.vfolder-info to bug #12344
gnomeint does only the mimetype registration, so the patch won't help. The Categories entries must be edited in the .desktop file in sysui/desktop/gnome (for OOo 1.1). The current value for all entries is Categories=Application;Office; The reason why the OOo 1.0.3 showed up in Applications->Other is probably that 1.0.3 had - as Kevin said - only Gnome 1.x integration. To change ~/.gnome2/vfolders/applications.vfolder-info, we would need to change gnomeint to additionally parse this xml file, to insert all desktop files and write it back. Anyone used a sax parser already ?
mh->obr: please review, since this is greater effort we should think about target and resources.
O.k., here is what I think: In OOo 2.0 we will have a completly different installation mechanism, so this issue doesn't make much sense on this target. For OOo 1.x I always wondered why people choose to download from OOo instead of using the packages provided by their linux vendors. Anyway, fixing the debian issue (xml-parsing) can be done for 1.1.1, even though I am not sure it is worth the effort: I am sure the debian packages will get things right. Making 1.0.x appear in Gnome 2 menus is another issue, which potentially could be done in a 1.0.4 time frame. Are there plans to release a 1.0.4 ?
Accepted.
Egle, after reviewing the menu spec (especially point C. "How to add your application to the menus"), I think that applications.vfolder-info should be updated by Gnome and not by the application. Michael, do you agree ? Since this task was originally submitted against 1.0.2, I adjust the target to 1.0.4 for introducing Gnome 2 support to the 1.0.x series. Martin, are there actually plans when to release 1.0.4 ?
I think for OO.o 2.0 we should up-stream the OO.o icons / mime-info etc. and add it into gnome-mime-data so it's on every system simply waiting for an OO.o install [ that at least is easiest in the short term ] For 1.0.4 - unfortunately, I've not read the menu spec. recently - but if you have Oliver I imagine it's the right thing to follow. HTH.
With 1.1.1 coming up soon, there seems to be no demand for a 1.0.4 release any more.
Closing.