grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] GSoC #05 Menu entry class attribute (v2)


From: Colin D Bennett
Subject: Re: [PATCH] GSoC #05 Menu entry class attribute (v2)
Date: Mon, 13 Oct 2008 09:35:53 -0700

On Sun, 05 Oct 2008 13:07:32 +0300
Vesa Jääskeläinen <address@hidden> wrote:

> Colin D Bennett wrote:
> > This patch adds support for a 'class' attribute on menu entries.
> > It is somewhat of a kludge, however since currently you just append
> > "|class=this,that" to the menu entry title to specify the classes.
> > 
> > Classes are used to provide a simple and flexible way for the best
> > available icon to be used in a graphical menu, but there are other
> > possible uses for them as well.  The idea originates from the CSS
> > (cascading style sheets) and HTML 'class' concept.
> 
> Here is the patch snipped for using menuentry --class foo "title" { }.
> 
> Please try it out and see if it fits.

Hi Vesa,

Thanks for the argument parsing improvement.  I'm glad to rip out the
'|class=' title kludge.  Here is the result of merging your patch into
the menu entry class code.

Regards,
Colin

Attachment: 05_menu-entry-class_v2.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]