Re: tagtool desktop file bug



A self-correction...

After re-reading the spec,  I am not sure if the 

	StartupNotify=true

tag is necessary. 

>From a web search

        "If and only if launching this desktop file *always* results in
        sending an "end startup notification" message, add the line
        "StartupNotify=true" to the .desktop file."
        
I will need to poke around in the tagtool code to see what's going on. 

After some more experimentation, adding a single registered category

[see http://standards.freedesktop.org/menu-spec/latest/apa.html ]

Exec=tagtool
Icon=TagTool.png
Terminal=0
Type=Application
Categories=AudioVideo                     <<=================
MimeType=audio/x-mp3;application/ogg;

seems to be sufficient to make tagtool appear in the "Sound & Video"
applications sub-menu.

-Joseph

===============================================================


On Fri, 2005-11-25 at 12:15 -0500, Joseph E. Sacco, PhD wrote:
> Pat,
> 
> Your point is well taken. Also, the menu spec is a moving target, which
> I need to re-read yet again.
> 
> How about:
> 
>                           ...
> Exec=tagtool
> Icon=TagTool.png
> Terminal=0
> Type=Application
> Categories=Application;AudioVideo                <===============
> StartupNotify=true                               <===============
> MimeType=audio/x-mp3;application/ogg;
> 
> 
> -Joseph
> 
> =======================================================================
> 
> On Fri, 2005-11-25 at 11:51 -0500, Pat Suwalski wrote:
> > Robert Ford wrote:
> > > diff --speed-large-files --minimal -Npru tagtool-0.12.2.orig/data/tagtool.desktop.in tagtool-0.12.2/data/tagtool.desktop.in
> > > --- tagtool-0.12.2.orig/data/tagtool.desktop.in      2005-11-24 03:41:39.000000000 -0800
> > > +++ tagtool-0.12.2/data/tagtool.desktop.in       2005-05-30 15:19:56.000000000 -0700
> > > @@ -14,6 +14,8 @@ Name[ua]=Audio Tag Tool
> > >  Comment=MP3 and Ogg Vorbis tag editor
> > >  Exec=tagtool
> > >  Icon=TagTool.png
> > > +Categories=GNOME;Application;AudioVideo;Player;X-Ximian-Main;X-Red-Hat-Base;
> > >  Terminal=0
> > >  Type=Application
> > > +StartupNotify=true
> > >  MimeType=audio/x-mp3;application/ogg;
> > 
> > Might I ask why you're suggesting including distro-specific tags in the
> > Categories field? IMO that should be purely up to a distro and should
> > not be upstream, though it can be in garnome as a patch.
> > 
> > --Pat
> -- 
> joseph_sacco [at] comcast [dot] net
> 
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]