Issue 11738 - Fix the gnome-menu-entries for GNOME2
Summary: Fix the gnome-menu-entries for GNOME2
Status: CLOSED WONT_FIX
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: Other Linux, all
: P3 Trivial with 4 votes (vote)
Target Milestone: OOo 1.0.4
Assignee: nospam4obr
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-22 00:49 UTC by gromitt
Modified: 2004-02-17 12:57 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This patch fixes the missing categorie entry in oo_1.0.2_src/sysui/oounix/office/gnome/gnomeint (503 bytes, patch)
2003-02-22 00:50 UTC, gromitt
no flags Details | Diff
small fixed patch .... (3.90 KB, patch)
2003-03-31 22:18 UTC, gromitt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description gromitt 2003-02-22 00:49:23 UTC
The Icons from OpenOffice.org are all shown in the Menu

       Applications->Others 

in GNOME2
Comment 1 gromitt 2003-02-22 00:50:56 UTC
Created attachment 4839 [details]
This patch fixes the missing categorie entry in oo_1.0.2_src/sysui/oounix/office/gnome/gnomeint
Comment 2 gromitt 2003-02-22 00:52:50 UTC
I am working for an addition to get the Setup and PrinterAdmin icons
from 
     Applications -> Others

to

     Applications -> System
.
Comment 3 Unknown 2003-03-14 11:38:42 UTC
.
Comment 4 chris 2003-03-25 15:56:09 UTC
armin, I think Kevin owns gnomeint
Comment 5 gromitt 2003-03-31 22:18:50 UTC
Created attachment 5386 [details]
small fixed patch ....
Comment 6 Martin Hollmichel 2003-04-29 14:28:03 UTC
retargeting
Comment 7 Martin Hollmichel 2003-05-12 12:26:04 UTC
reassigned to mh
Comment 8 Martin Hollmichel 2003-05-22 15:06:18 UTC
mh->khendricks: can you please review this ?
Comment 9 khendricks 2003-05-22 15:34:00 UTC
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 
 
 
Comment 10 khendricks 2003-06-08 14:40:24 UTC
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 
 
Comment 11 egle 2003-07-17 17:51:50 UTC
OpenOffice 1.1 RC still doesn't appear in Gnome2 menus :(
Please, fix this bug before OOo 1.1 final
Comment 12 egle 2003-07-17 19:23:21 UTC
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
Comment 13 nospam4obr 2003-07-18 14:35:14 UTC
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 ?
Comment 14 Martin Hollmichel 2003-08-20 16:45:32 UTC
mh->obr: please review, since this is greater effort we should think
about target and resources.
Comment 15 nospam4obr 2003-08-21 08:41:24 UTC
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 ?

Comment 16 nospam4obr 2003-09-01 07:04:57 UTC
Accepted.
Comment 17 nospam4obr 2003-09-03 07:30:59 UTC
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 ?

Comment 18 mmeeks 2003-09-03 09:39:01 UTC
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.
Comment 19 nospam4obr 2004-02-16 09:43:45 UTC
With 1.1.1 coming up soon, there seems to be no demand for a 1.0.4 release any more.
Comment 20 nospam4obr 2004-02-17 12:57:05 UTC
Closing.