internally
* hildon/hildon-touch-selector.c:
(hildon_touch_selector_optimal_size_request): use the current requisition
as the base, in order to include any possible extra widget, like the
hildon entry on HildonTouchSelectorEntry
Fixes: NB#119805 (Merge conflict picker dialogs are too small)
+2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
+
+ * hildon/hildon-touch-selector.c:
+ (hildon_touch_selector_optimal_size_request): use the current requisition
+ as the base, in order to include any possible extra widget, like the
+ hildon entry on HildonTouchSelectorEntry
+
+ Fixes: NB#119805 (Merge conflict picker dialogs are too small)
+
2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post release version bump
{
GSList *iter = NULL;
gint height = 0;
+ gint base_height = 0;
g_return_if_fail (HILDON_IS_TOUCH_SELECTOR (selector));
if (iter == NULL) {
height = requisition->height;
+ } else {
+ /* we use the normal requisition as base, as the touch selector can has
+ extra widgets, not only the columns (ie: HildonTouchSelectorEntry) */
+ base_height = requisition->height;
}
- /* Compute optimal height */
+ /* Compute optimal height for the columns */
while (iter) {
HildonTouchSelectorColumn *column;
GtkWidget *child;
iter = g_slist_next (iter);
}
- requisition->height = height;
+ requisition->height = base_height + height;
}