Awesome, that's just what I needed.

Thanks,
Ryan R.

On 7/21/06, Travis B. Hartwell <[EMAIL PROTECTED]> wrote:
> Actually, you don't.  This is something that I am going to document.  I
> actually created a new category when I wrote the iswitch-window handler.
> In your HANDLERS dictionary in your handler file, make one of the
> key/item pairs that are members of your handler key/item pair be
> "categories".  Like this:
>
> HANDLERS = {
>         "ISwitchWindowHandler" : {
>                 "name": _("Window Switcher"),
>                 "description": _("Switch to an existing window by
> name."),
>
>                 "categories" : {
>                         "windows"       : {
>                                 "name": _("Windows"),
>                                 }
>                         },
>                 "version": VERSION,
>
>                 }
>         }
>
> That creates a new category named "windows" that will be displayed as
> "Windows".
>
> <rest snipped>
>
> Hope that is helpful.  I'm going to submit a patch possibly this weekend
> with this documented in the handlers file.
_______________________________________________
deskbar-applet-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/deskbar-applet-list

Reply via email to