statusbar - use a exist function for setting initial cursor position.

This commit is contained in:
ChunEon Park 2014-02-04 17:58:07 +09:00
parent 79eb7b7f88
commit 21e992a341
1 changed files with 1 additions and 3 deletions

View File

@ -38,11 +38,9 @@ stats_init(Evas_Object *parent)
elm_layout_file_set(layout, EDJE_PATH, "statusbar_layout");
evas_object_show(layout);
//FIXME: temporarily setup
elm_object_part_text_set(layout, "elm.text.cur_pos",
"Cursor [<style=glow><color=#3399ff>0</color></style>,<style=glow><color=#3399ff>0</color></style>] [<style=glow><color=#3399ff>0.00</color></style>,<style=glow><color=#3399ff>0.00</color></style>]");
sd->layout = layout;
stats_cursor_pos_update(sd, 0, 0, 0, 0);
stats_edc_group_set(sd, NULL);
return sd;