[Sugar-devel] [PATCH] Draw border for palette all the time SL #3383

Simon Schampijer simon at schampijer.de
Fri Apr 20 06:55:29 EDT 2012


On 04/19/2012 04:24 PM, Daniel Drake wrote:
> On Wed, Apr 18, 2012 at 2:46 PM, Simon Schampijer<simon at schampijer.de>  wrote:
>> gtk_render_frame_gap [1] does expect an initial and an end
>> coordinate for the gap. paint_box_gap [2] which we used
>> before expected a starting position of the gap and the width
>> of the gap as parameter.
>>
>> The patch does calculate the end coordinate parameter for
>> the gap from the initial coordinate and the width of the
>> gap.
>
> Looks good.
> Please also check the render_frame_gap call in toolbarbox.py. (I think
> it is already OK)
>
> Daniel

Yes the occasion in toolbarbox.py is ok, We start at 0 so using the 
width as the end is ok here.

Pushed as: 
http://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-gtk3/commit/16040b2f30b266c4b1e6833b1563e58096745fed

Regards,
    Simon


More information about the Sugar-devel mailing list