maemo.org Bugzilla – Bug 4673
hildon_entry_set_placeholder() should be in GtkEntry.
Last modified: 2009-08-21 12:28:11 UTC
You need to
before you can comment on or make changes to this bug.
HildonEntry seems to just add a placeholder feature to GtkEntry. That should be
added upstream to GTK+, probably as a property:
As well as making porting easier, by avoiding the need to ifdef a choice of
GtkEntry or HildonEntry, this would make gtk_entry_get/set_text() ignore the
Likewise for HildonTextView:
This is actually a GTK+ bug. We would drop the placeholder feature if this
could be added to GTK+.
I filed a bug upstream with an initial implementation (#566741) but it was
duplicated and the original bug (#440963) seems to be a source of disagreements
that won't be resolved anytime soon. An implementation in maemo-gtk would
probably be the way to go.
Well done. The links, for convenience:
marked as a duplicate of:
I replied there, trying to move it along. It would have been nice if the Hildon
developers had done that. It seems possible to get it accepted upstream.
Placeholder text API has been added to GtkEntry and GtkTextView in
Maemo-GTK. Resolving as FIXED.
Apart from the changes in Maemo-gtk, the changes to Hildon are here:
...and this is also internally integrated into builds now.
So what's the (documented) purpose of HildonEntry and HildonTextView now,
rather than their GTK+ equivalents?