Hi all,
I've attached a patch to improve the look of the Export dialog window (mostly following the guidelines of the GNOME HIG and somewhat inspired by this article: http://www.gnomejournal.org/article/44/three-simple-tips-for-interface-desig...). While I was modifying the layout of the window, I couldn't help but move some of the widgets to gtkmm since I find it so much easier to write and to understand than GTK+. I know Inkscape uses some gtkmm, but I know you also use a lot of plain GTK+. I don't know if the goal / policy is to move more toward gtkmm, so I'm not sure whether you'll appreciate my gtkmm-ification or not :) Of course, this was by no means a complete gtkmm-ification, it's very incremental. In any case, if this sort of patch is welcomed, I may work on a couple other dialogs that could use a bit of improvement as well.
A couple of notes about the patch: Most of the GTK+ widgets that I replaced with gtkmm widgets were being allocated with gtk_*_new() but I didn't notice them being freed anywhere. So my code follows the same pattern. I'm not particularly familiar with the code-base of Inkscape, but from what I was able to tell, these kinds of dialogs are basically singletons that are managed by some sort of dialog factory. So while we aren't really keeping track of these widgets that are getting allocated, there's not much danger since they'll only be instantiated once and live for the life of the application (??). Am I understanding this more-or-less correctly? Or am I way off?
I should also add that this patch changes some translatable strings by adding some Pango markup to the 'section headers'. Is this the accepted way to do this or is there a better way (i.e. just marking the words between the markup as translatable)?
BTW, I'm not subscribed to Inkscape-devel, so please cc me on replies.
Jonner