Re: [Deskbar] Rhythmbox Handler



Hi,

great handler. I seem to have to make a slight change in the
RhythmboxMatch -> action - method in order for song change etc. to work.

-        argv = ['rhythmbox', self.rb_arg]
+        argv = ['rhythmbox-client', self.rb_arg]

This is using rhythmbox from CVS.

Thanks, Bjorn

fre, 21 07 2006 kl. 17:12 +0200, skrev Sebastian P�erl:
> 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.
> 




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