desktop-file pre-commit hook.
Alexander Toresson
alexander.toresson at gmail.com
Wed Apr 2 14:45:28 CEST 2008
On Wed, Apr 2, 2008 at 4:57 AM, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> On Sun, 30 Mar 2008 21:45:19 +0200, "Stephan Arts" <stephan at xfce.org>
> wrote:
>
>
> > Hi,
> >
> > In a response to the mail from enrico, I was wondering. Could we add a
> > pre-commit hook on .desktop files just like we do for .po files?
>
> This is a great idea.
> But as Brian already told, the script should be take care
> of .desktop.in files and possibly remove found "_" prefixes. You can't
> pass them directly to desktop-file-validate, it doesn't like the
> underscore prefixes. Maybe there are also some other things to take
> care of.
>
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.key
>
Perhaps you could make it produce .desktop files from .desktop.in
files before validating them?
// Alexander
More information about the Xfce4-dev
mailing list