Re: Can't resolve custom icons in the panel

2011-08-03 Thread Florian Müllner
2011/8/3 Tim Cuthbertson > While I'm at it, I'm currently setting the icon height to 20px. How > should I do it properly, so that it'll be correct if the panel height > changes? Should I just use Main.panel.actor.height? > Ugh, no. The top bar height depends on the font size, so use 'em' instead

Re: Can't resolve custom icons in the panel

2011-08-03 Thread Tim Cuthbertson
On Wed, Aug 3, 2011 at 8:58 PM, Tim Cuthbertson wrote: > On Wed, Aug 3, 2011 at 6:35 PM, Jasper St. Pierre > wrote: >> On Wed, Aug 3, 2011 at 4:27 AM, Tim Cuthbertson wrote: >>> I'm still trying to get custom icons to appear in my extension's panel >>> indicator. I've done the following: >>> >>

Re: Can't resolve custom icons in the panel

2011-08-03 Thread Tim Cuthbertson
On Wed, Aug 3, 2011 at 6:35 PM, Jasper St. Pierre wrote: > On Wed, Aug 3, 2011 at 4:27 AM, Tim Cuthbertson wrote: >> I'm still trying to get custom icons to appear in my extension's panel >> indicator. I've done the following: >> >>  - added my icon to >> $XDG_DATA_DIRS/hicolor/48x48/actions/wind

Re: Can't resolve custom icons in the panel

2011-08-03 Thread Jasper St. Pierre
On Wed, Aug 3, 2011 at 4:27 AM, Tim Cuthbertson wrote: > I'm still trying to get custom icons to appear in my extension's panel > indicator. I've done the following: > >  - added my icon to > $XDG_DATA_DIRS/hicolor/48x48/actions/window-tile-horizontal.png >  - created an StIcon, and added it to my

Can't resolve custom icons in the panel

2011-08-03 Thread Tim Cuthbertson
I'm still trying to get custom icons to appear in my extension's panel indicator. I've done the following: - added my icon to $XDG_DATA_DIRS/hicolor/48x48/actions/window-tile-horizontal.png - created an StIcon, and added it to my indicator's panel actor If I use icon.set_name("go-down"), the do