Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17201 - Dia shows up in the wrong Gnome Applications submenu
Summary: Dia shows up in the wrong Gnome Applications submenu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 04:59 UTC by Per Cederberg
Modified: 2003-03-30 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Cederberg 2003-03-10 04:59:50 UTC
After emerging Dia, it shows up the the Gnome Applications menu 
under "Other". It would be better if the Dia icon appeared under
"Office", as Gnumeric and Evolution does.

Fixing this is easy, as it only requires adding a single line to the
dia.desktop file (in /usr/share/gnome/apps/Applications):

Categories=Application;Office;


Reproducible: Always
Steps to Reproduce:
Comment 1 Markus Bertheau (RETIRED) gentoo-dev 2003-03-10 05:48:42 UTC
I like these kind of bug reports. But wouldn't Dia fit better in the Graphics category?
Comment 2 Per Cederberg 2003-03-10 10:16:45 UTC
Oh, well. I guess the appropriate category for Dia depends a bit on 
the viewpoint. I use it for creating nice block graphics in my word 
processing documents, which kind of leads me to seeing it as an 
"office-component". There is also something similar in OpenOffice.

On the other hand, it is kind of a graphics application. Maybe not
as powerful as a full vector drawing tool (i.e. Illustrator), but
still.

In the end, I think any of the above would be fine. Just don't like 
the "Other" category, as it doesn't really say anything.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-03-10 10:27:21 UTC
If i'm not mistaken, gnome2 allows multiple categories in the .desktop file.

eg:

Categories=GNOME;Application;Graphics;Office;

So in this case where Dia's usage can span multiple categories, it could work. However, with that said, I can't find anything on freedesktop.org that explicitly specifies the Categories field in .desktop files :(

PS. of course, some people use Dia for UML when programming, so maybe its better in Programming ? :) Just kidding.
Comment 4 Per Cederberg 2003-03-10 10:52:41 UTC
I'd much prefer choosing *one* of the categories and sticking with 
that. Having an application in two submenus at the same time will
cause confusion, me thinks. Kind of suggests that there are two
different "modes" or so in the application.

Or maybe I misunderstand something here? Doesn't adding two 
categories make the application icon show up in both submenus?

PS. Doesn't the Gnome HIG say something clever with respect to
the Applications menu?
Comment 6 Per Cederberg 2003-03-11 02:06:37 UTC
Ok, it seems like the Office "definition" at freedesktop.org includes 
Spreadsheet, WordProcessor, Presentation, Calendar and Email. I guess
that makes the appropriate Category:

Category=Application;GNOME;Graphics;VectorGraphics

BTW. I havn't added a bug on it, but GnuCash should have a Category 
too. Unfortunately it seems like there are no other reasoable 
categories at freedesktop.org for it...
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-03-30 19:21:02 UTC
fixed for the newest dia-0.91. office is now its category.
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-03-30 19:21:25 UTC
fixed for the newest dia-0.91. office is now its category.