Re: Composite GtkBuilder template



On Wed, 2013-04-17 at 21:42 -0500, Federico Mena Quintero wrote:
On Thu, 2013-04-11 at 17:49 -0500, Federico Mena Quintero wrote:

I'll do something like this.  First, revert the commit.  Then, merge my
branch.  Doing a straight rebase is not trivial, as places-sidebar has
gotten master merged into it a few times to keep up with general
development.  And finally, apply your commit again with lots of changes.

So I went ahead and did this.  I learned why you don't support binding
widgets to fields in public structures (it's done on the class private
structure).

I refactored your patch to use priv->foo instead of impl->priv->foo
everywhere, and it is much nicer that way.  I may end up doing this to
gtk-2-24 as well for consistency.

Yes,
   I admit that wasn't nice of me. I just did a search replace
and it compiled, but you're right, it's much more readable when
you have a 'priv' variable declared in each function.


Tristan, the composite templates stuff is *excellent* work.  The file
chooser's code is much cleaner now that all the silly widgetry is
editable in Glade!

I guess the next thing would be to have GtkPlacesSidebar set up its
internal GtkTreeView using Glade.  I'll investigate that later, but if
you already have a good pattern for doing this... :)

Thanks for this massively useful work - doing megawidgets in Glade is
really nice this way.

I'm glad that you enjoy it :)

And I hope it wasn't too much trouble for your merge, I know how big
merges can be discouraging... so thank you too for your patience.

Cheers,
    -Tristan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]