Am Freitag, den 21.07.2006, 08:18 -0500 schrieb Travis B.
Hartwell:
> 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.
I didn't know that.
Thank you very much for that hint.
--
Greetings,
Sebastian Pölsterl
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-list gnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list
|