Re: [Elementary-dev-community] On Contractor and Luna

2013-04-14 Thread Sergey Shnatsel Davidoff
Hey guys, We have a lot of progress to report! Thanks to Michael Lazarski, Akshay Shekher and Tom Beckmann we now have a working implementation of Contractor daemon using the new API. It's already much less buggy than the older one. Akshay has also transitioned Granite's wrapper to Contractor

Re: [Elementary-dev-community] On Contractor and Luna

2013-04-14 Thread Victor
Awesome work on Contractor! As for the Granite wrapper, I don't really see a lot of value in it since it's still a string-based API similar to the one we had before. It doesn't exploit Vala's object capabilities either. Is it really too much to ask to request OO APIs for Granite? Vala is

Re: [Elementary-dev-community] On Contractor and Luna

2013-04-14 Thread Sergey Shnatsel Davidoff
Thanks! Could you write what you want to see changed in the API to make it easier to use on the merge request? 2013/4/14 Victor victoredua...@gmail.com Awesome work on Contractor! As for the Granite wrapper, I don't really see a lot of value in it since it's still a string-based API similar

[Elementary-dev-community] Why does Cairo.set_source_rgb paint the whole canvas?

2013-04-14 Thread Craig
I posted this question on StackOverflow, but I'm hoping you guys can help answer it as well: I'm playing around with Clutter/cairo and I'm trying to draw a rectangle; however, it appears that theset_source_rgb is automatically painting the whole canvas with its source, regardless of whether or

Re: [Elementary-dev-community] Why does Cairo.set_source_rgb paint the whole canvas?

2013-04-14 Thread Tom Beckmann
The effect you observe is caused by the paint call at the bottom. Remove that and it should work fine. But you also have to insert ctx.set_operator(Cairo.Operator.CLEAR); ctx.paint(); ctx.set_operator(Cairo.Operator.OVER); at the very bottom of the draw method which clears the canvas. Clutter