Which one has the bug?

Heinrich Wendel h_wendel at cojobo.net
Wed Apr 13 21:58:10 EEST 2005


On Wednesday 13 April 2005 15:29, you wrote:
> On Tuesday 12 April 2005 16:10, Travis Watkins wrote:
> > Hi,
> >
> > I have a script using PyXDG to do menu editting that works as
> > non-root. It does this by creating a user version of the root .desktop
> > file that has the same name. For example, if I want to change the
> > comment for gcalctool.desktop it will create a copy in
> > ~/.locals/share/applications which PyXDG and gnome-menus will use
> > instead of the root one. However, if I put NoDisplay=true in the user
> > version PyXDG starts showing the root copy again while gnome-menus
> > doesn't show any version of it (what I wanted). Which one is doing it
> > wrong?
>
> gnome_menus does it right. Will add a test case for that.

Should be fixed in cvs, please try.

>
> > A similar problem between these two: if I have a user version of
> > gcalctool.desktop and change it so it goes in GNOME's Games menu
> > (Categories=Application;Game;) PyXDG will only show the user version
> > in Games but gnome-menus will show the root copy in Accessories and
> > the user copy in Games. Even putting an <Exclude> in for Accessories
> > doesn't fix it, I think because it's trying to exclude the user
> > version but it isn't actually there. Once again, which one is doing
> > this wrong?
>
> PyXDG does it right. Will add a test case for that as well.
>
> Cheers,
> Waldo
mfg, heinrich :)



More information about the xdg mailing list