* configure.ac: Bump GTK+ requirement to 2.14.3.
* hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
when using maemo-gtk to define proper margins for the notes.
Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
with the dialog edge)
+2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
+
+ * configure.ac: Bump GTK+ requirement to 2.14.3.
+ * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
+ when using maemo-gtk to define proper margins for the notes.
+
+ Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
+ with the dialog edge)
+
2009-06-24 Alberto Garcia <agarcia@igalia.com>
* hildon/hildon-banner.c
AC_HEADER_STDC
-GTK_VERSION=2.12.12
+GTK_VERSION=2.14.3
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_VERSION)
AC_SUBST(GTK_LIBS)
g_object_get (priv->okButton, "width-request",
&priv->button_width, NULL);
gtk_widget_set_no_show_all (priv->cancelButton, FALSE);
+#ifdef MAEMO_GTK
+ gtk_dialog_set_padding (dialog,
+ HILDON_MARGIN_DOUBLE,
+ HILDON_MARGIN_DEFAULT,
+ HILDON_MARGIN_DOUBLE,
+ HILDON_MARGIN_DOUBLE);
+#endif /* MAEMO_GTK */
break;
case HILDON_NOTE_TYPE_PROGRESSBAR:
case HILDON_NOTE_TYPE_INFORMATION_THEME:
case HILDON_NOTE_TYPE_INFORMATION:
+#ifdef MAEMO_GTK
+ gtk_dialog_set_padding (dialog,
+ HILDON_MARGIN_DOUBLE,
+ HILDON_MARGIN_DOUBLE,
+ 0,
+ 0);
+#endif /* MAEMO_GTK */
is_info_note = TRUE;
break;