From e6b671465650db23a7625d60da98f7b7147f8d23 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Tue, 6 Mar 2012 12:05:00 +0000 Subject: [PATCH] missed 1 config fetcher func. SVN revision: 68811 --- .../modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c b/legacy/elementary/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c index 485d0f5638..00d7f77e6d 100644 --- a/legacy/elementary/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c +++ b/legacy/elementary/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c @@ -196,7 +196,7 @@ _field_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__) evas_object_geometry_get(obj, &x, &y, &w, &h); evas_object_geometry_get(elm_widget_top_get(ctx_mod->mod_data.base), NULL, NULL, &width, NULL); evas_object_size_hint_min_set(ctx_mod->ctxpopup, width, -1); - display_item_num = width / (w + elm_finger_size_get()); + display_item_num = width / (w + elm_config_finger_size_get()); // always display even number of items to avoid autoselection if (display_item_num % 2) display_item_num -= 1; if (display_item_num < DISKSELECTOR_MIN_ITEMS)