* hildon/hildon-entry.c: (set_property): Do not allow to set
automatic height and use finger height instead, to prevent an to
have a smaller size than than its theme pixbuf.
Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
+ * hildon/hildon-entry.c: (set_property): Do not allow to set
+ automatic height and use finger height instead, to prevent an to
+ have a smaller size than than its theme pixbuf.
+
+ Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
+
+2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
+
* configure.ac: postrelease version bump.
* debian/changelog: post release version bump
* configure.ac: postrelease version bump.
* debian/changelog: post release version bump
2009-07-16 Alejandro G. Castro <alex@igalia.com>
2009-07-16 Alejandro G. Castro <alex@igalia.com>
* hildon/hildon-text-view.c,
(hildon_text_view_button_press_event): Grabbed the focus in button
press, this way we are sure the widget has the focus in the
* hildon/hildon-text-view.c,
(hildon_text_view_button_press_event): Grabbed the focus in button
press, this way we are sure the widget has the focus in the
const GValue *value,
GParamSpec *pspec)
{
const GValue *value,
GParamSpec *pspec)
{
switch (prop_id)
{
case PROP_SIZE:
switch (prop_id)
{
case PROP_SIZE:
- hildon_gtk_widget_set_theme_size (GTK_WIDGET (object), g_value_get_flags (value));
+ size = g_value_get_flags (value);
+ /* If this is auto height, default to finger height. */
+ if (!(size & (HILDON_SIZE_FINGER_HEIGHT | HILDON_SIZE_THUMB_HEIGHT)))
+ size |= HILDON_SIZE_FINGER_HEIGHT;
+ hildon_gtk_widget_set_theme_size (GTK_WIDGET (object), size);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);