hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=21e992a341c76a24b4aa26f17ad4ef67687e1c2b

commit 21e992a341c76a24b4aa26f17ad4ef67687e1c2b
Author: ChunEon Park <[email protected]>
Date:   Tue Feb 4 17:58:07 2014 +0900

    statusbar - use a exist function for setting initial cursor position.
---
 src/bin/statusbar.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/statusbar.c b/src/bin/statusbar.c
index d2f7b4d..c34a008 100644
--- a/src/bin/statusbar.c
+++ b/src/bin/statusbar.c
@@ -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;

-- 


Reply via email to