GNOME Bugzilla – Bug 333922
inner-border properties for GtkEntry
Last modified: 2006-03-10 10:31:11 UTC
maemo-gtk has a patch that turns the INNER_BORDER #define in GtkEntry into horizontal-border and vertical-border style properties. I refactored that to be one style property of type GtkBorder *plus* an ordinary property (plus API) of the same name that overrides the style property if set. The rationale for having both style and object property is in the newly added API's inline docs. Patch follows.
Created attachment 60925 [details] [review] Patch implementing the above
ok, the patch looks good to me and i think it should go in without modifications.
Looks ok to me too, even though we haven't done this kind of style property + regular property thing before.
Fixed in CVS: 2006-03-10 Michael Natterer <mitch@gimp.org> * gtk/gtkentry.[ch]: applied refactored patch from maemo-gtk that replaces the INNER_BORDER define by an "inner-border" style property of type GtkBorder. Additionally, add an "inner-border" object property plus API which allows to override any theme border, to allow pixel-perfect positioning of entries for inline editing. Fixes bug #333922. * gtk/gtk.symbols: add the new public functions.