summaryrefslogtreecommitdiff
path: root/src/modules/datetime_input_ctxpopup
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-07 12:30:00 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-07 12:30:00 +0000
commit759470cfeb6027aa1656670a401ae8d40efc79d0 (patch)
tree0273bbee9422d3b0977d50967625d060ecd0b83f /src/modules/datetime_input_ctxpopup
parentf0516c9fd336bdb355b1bcef9c4902b786d7c16a (diff)
elm diskselector: Reviewed diskselector.
SVN revision: 68936
Diffstat (limited to 'src/modules/datetime_input_ctxpopup')
-rw-r--r--src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
index b67e40e95..c297eab9d 100644
--- a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
+++ b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
@@ -191,7 +191,7 @@ _field_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
191 elm_object_item_del_cb_set(item, _diskselector_item_free_cb); 191 elm_object_item_del_cb_set(item, _diskselector_item_free_cb);
192 } 192 }
193 } 193 }
194 elm_diskselector_side_label_length_set(diskselector, text_len); 194 elm_diskselector_side_text_max_length_set(diskselector, text_len);
195 195
196 evas_object_geometry_get(obj, &x, &y, &w, &h); 196 evas_object_geometry_get(obj, &x, &y, &w, &h);
197 evas_object_geometry_get(elm_widget_top_get(ctx_mod->mod_data.base), NULL, NULL, &width, NULL); 197 evas_object_geometry_get(elm_widget_top_get(ctx_mod->mod_data.base), NULL, NULL, &width, NULL);
@@ -202,7 +202,7 @@ _field_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
202 if (display_item_num < DISKSELECTOR_MIN_ITEMS) 202 if (display_item_num < DISKSELECTOR_MIN_ITEMS)
203 display_item_num = DISKSELECTOR_MIN_ITEMS; 203 display_item_num = DISKSELECTOR_MIN_ITEMS;
204 elm_diskselector_display_item_num_set(diskselector, display_item_num); 204 elm_diskselector_display_item_num_set(diskselector, display_item_num);
205 elm_diskselector_round_set(diskselector, EINA_TRUE); 205 elm_diskselector_round_enabled_set(diskselector, EINA_TRUE);
206 206
207 elm_ctxpopup_direction_priority_set(ctx_mod->ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN, 207 elm_ctxpopup_direction_priority_set(ctx_mod->ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN,
208 ELM_CTXPOPUP_DIRECTION_UP, -1, -1); 208 ELM_CTXPOPUP_DIRECTION_UP, -1, -1);