Re: Tool bar
David Mohammed <[email protected]> Sun, 19 Jul 2015 15:40:43 +0100
| Newsgroups | gmane.comp.gnome.apps.rhythmbox.devel |
|---|---|
| Message-ID | <CAMwPnjdzGKBNTJHysBMUE4OHHi3kL6n4Sw+nj8HvpaFukfSaLw@mail.gmail.com> |
--===============8721393453254561416== Content-Type: multipart/alternative; boundary=001a1137bb8ce0b6f3051b3b675c --001a1137bb8ce0b6f3051b3b675c Content-Type: text/plain; charset=UTF-8 The ability to dynamically change the toolbar disappeared at rhythmbox 2.99 when the interface shifted from the (now) deprecated GTK.ui_manager style coding to the Gio based approach. So you cannot change the toolbar ... at least not so easily. This plugin shows you how to change the toolbar - you basically have to list out all the UI elements and find the object/container you are interested in and add a child object. https://github.com/bmerry/rbtempo Alternatively, you can manage your own toolbar and add elements to that - e.g. my alternative-toolbar plugin https://github.com/fossfreedom/alternative-toolbar As an aside - if you settle on using my plugin you could add elements to it via your own plugin - you'll need to wait until my plugin in loaded before adding your new control. Example - see my other plugin (coverart browser master branch) as to how I added a new control to the headerbar. https://github.com/fossfreedom/coverart-browser/blob/master/coverart_browser.py David ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 18 Jul 2015 19:05:44 -0600 > From: L E <[email protected]> > To: [email protected] > Subject: [Rhythmbox-devel] Tool bar. > Message-ID: > < > CAHiU2s1UaLvhUkdKn8oa9wPjvXifs5WXpM1AySY+gc1w0K5GOg@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > > I believe it is called the toolbar, where the playbutton, next, prev, > shuffle etc is. > > In an older version I was able to create another entry/icon in it but that > doesn't seem to work (or work the same) anymore (or am I missing > something?) > > any hints would be appreciated. > > thanks, > > Ron > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.gnome.org/archives/rhythmbox-devel/attachments/20150718/f076edd7/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > rhythmbox-devel mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/rhythmbox-devel > > > ------------------------------ > > End of rhythmbox-devel Digest, Vol 131, Issue 2 > *********************************************** > --001a1137bb8ce0b6f3051b3b675c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div><div><div>The ability to dynamically change= the toolbar disappeared at rhythmbox 2.99 when the interface shifted from = the (now) deprecated GTK.ui_manager style coding to the Gio based approach.= <br><br></div>So you cannot change the toolbar ... at least not so easily.<= br><br></div>This plugin shows you how to change the toolbar=C2=A0 - you ba= sically have to list out all the UI elements and find the object/container = you are interested in and add a child object.<br><br><a href=3D"https://git= hub.com/bmerry/rbtempo">https://github.com/bmerry/rbtempo</a><br><br></div>= Alternatively, you can manage your own toolbar and add elements to that - e= .g. my alternative-toolbar plugin<br><br><a href=3D"https://github.com/foss= freedom/alternative-toolbar">https://github.com/fossfreedom/alternative-too= lbar</a><br><br></div>As an aside - if you settle on using my plugin you co= uld add elements to it via your own plugin - you'll need to wait until = my plugin in loaded before adding your new control.=C2=A0 Example - see my = other plugin (coverart browser master branch) as to how I added a new contr= ol to the headerbar.<br><br><a href=3D"https://github.com/fossfreedom/cover= art-browser/blob/master/coverart_browser.py">https://github.com/fossfreedom= /coverart-browser/blob/master/coverart_browser.py</a><br><br></div>David<br= ><div><div><div><div><div><div><br>----------------------------------------= ------------------------------<br><div class=3D"gmail_extra"><div class=3D"= gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> Message: 1<br> Date: Sat, 18 Jul 2015 19:05:44 -0600<br> From: L E <<a href=3D"mailto:[email protected]">[email protected]</a>><= br> To: <a href=3D"mailto:[email protected]">[email protected]<= /a><br> Subject: [Rhythmbox-devel] Tool bar.<br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <<a href=3D"mailto:CAHiU2s1UaLvhUkdKn8oa9wPj= vXifs5WXpM1AySY%[email protected]">CAHiU2s1UaLvhUkdKn8oa9wPjvXifs= [email protected]</a>><br> Content-Type: text/plain; charset=3D"utf-8"<br> <br> Hi,<br> <br> I believe it is called the toolbar, where the playbutton, next, prev,<br> shuffle etc is.<br> <br> In an older version I was able to create another entry/icon in it but that<= br> doesn't seem to work=C2=A0 (or work the same) anymore (or am I missing<= br> something?)<br> <br> any hints would be appreciated.<br> <br> thanks,<br> <br> Ron<br> -------------- next part --------------<br> An HTML attachment was scrubbed...<br> URL: <<a href=3D"https://mail.gnome.org/archives/rhythmbox-devel/attachm= ents/20150718/f076edd7/attachment.html" rel=3D"noreferrer" target=3D"_blank= ">https://mail.gnome.org/archives/rhythmbox-devel/attachments/20150718/f076= edd7/attachment.html</a>><br> <br> ------------------------------<br> <br> Subject: Digest Footer<br> <br> _______________________________________________<br> rhythmbox-devel mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><= br> <a href=3D"https://mail.gnome.org/mailman/listinfo/rhythmbox-devel" rel=3D"= noreferrer" target=3D"_blank">https://mail.gnome.org/mailman/listinfo/rhyth= mbox-devel</a><br> <br> <br> ------------------------------<br> <br> End of rhythmbox-devel Digest, Vol 131, Issue 2<br> ***********************************************<br> </blockquote></div><br></div></div></div></div></div></div></div></div> --001a1137bb8ce0b6f3051b3b675c-- --===============8721393453254561416== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rhythmbox-devel mailing list [email protected] https://mail.gnome.org/mailman/listinfo/rhythmbox-devel --===============8721393453254561416==--