Re: [Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-19 Thread Simon Schampijer
Hi Gonzalo, thanks for this great writeup! On 09/19/2012 09:13 PM, Gonzalo Odiard wrote: Today we explored with Simon different alternatives: - override the icon-name property and fallback to what we do in set_named_icon - override the icon-name property and print a warning to use

[Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-18 Thread godiard
From: Gonzalo Odiard godi...@gmail.com With g-i bindings, setting the property don't change the size and the button is bigger than should be. Now we have two properties for the same, icon_name and named_icon, maybe one should be deprecated. Signed-off-by: Gonzalo Odiard gonz...@laptop.org ---

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-18 Thread Manuel QuiƱones
Thanks Gonzalo. Yes this fixes the regression, which was affecting Paint, and may affect other ports so I vote for adding this instead of deprecating the API. So now both: radial_button = RadioToolButton(named_icon='view-radial') and: radial_button = RadioToolButton()