I think the reason for having it as a widget was that it including some code for things like scrolling across the widget to change modes or some other thing. Using the nth child does sound like a good idea as far as styling and keeping things super kosher though :)
-- You received this bug notification because you are a member of elementary desktop team, which is the registrant for Granite. https://bugs.launchpad.net/bugs/844432 Title: ModeButton for Gtk3 should be redone (or removed) Status in Granite Framework: New Bug description: Hi mates, I had a quick look (really quick, so this bug might be inaccurate) at the ModeButton, and I had the feeling you're like drawing a big button and then hacking separators with cairo, and clipping regions. If that's true, you should really redo the ModeButton, or maybe removed. In fact, Gtk+3 tool buttons support nth-child CSS property, so you can easily achieve the same look of a ModeButton just by tweaking a couple of values in the CSS. Have a look at Totem or other apps in Ubuntu Oneiric, since Ambiance support them (for example, Totem sidebar, the toolbar below it). Cheers all and keep up the good work! To manage notifications about this bug go to: https://bugs.launchpad.net/granite/+bug/844432/+subscriptions -- Mailing list: https://launchpad.net/~elementaryart Post to : [email protected] Unsubscribe : https://launchpad.net/~elementaryart More help : https://help.launchpad.net/ListHelp

