Re: [Deskbar] Rhythmbox Handler



Awesome, that's just what I needed.

Thanks,
Ryan R.

On 7/21/06, Travis B. Hartwell <nafai travishartwell net> 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.



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