diff options
author | David Walter Seikel | 2016-03-13 19:59:59 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-13 19:59:59 +1000 |
commit | bb128645efa19772a5c1a039df9c46213feb4426 (patch) | |
tree | 87bb9931b4effd3dc1db4ee607d69367cc19a9c6 /src/purkle | |
parent | Introducing Rough Hir, the new default avatar. At least, when we get avatars. (diff) | |
download | SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.zip SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.gz SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.bz2 SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.xz |
Update to new eo_* syntax.
Diffstat (limited to 'src/purkle')
-rw-r--r-- | src/purkle/purkle.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/purkle/purkle.c b/src/purkle/purkle.c index 378879f..5502ae5 100644 --- a/src/purkle/purkle.c +++ b/src/purkle/purkle.c | |||
@@ -28,13 +28,11 @@ static int append(lua_State *L) | |||
28 | pull_lua(L, 1, "$", &text); | 28 | pull_lua(L, 1, "$", &text); |
29 | if (text) | 29 | if (text) |
30 | { | 30 | { |
31 | eo_do(history->obj, | 31 | elm_obj_entry_append(history->obj, "<br/>"); |
32 | elm_obj_entry_append("<br/>"), | 32 | // TODO - Add a time stamp, and log to a file. |
33 | // TODO - Add a time stamp, and log to a file. | 33 | elm_obj_entry_append(history->obj, text); |
34 | elm_obj_entry_append(text), | 34 | // TODO - really need a "scroll to the bottom" here, this cursor down wont work if lines get wrapped onto multiple lines. |
35 | // TODO - really need a "scroll to the bottom" here, this cursor down wont work if lines get wrapped onto multiple lines. | 35 | elm_obj_entry_cursor_down(history->obj); |
36 | elm_obj_entry_cursor_down() | ||
37 | ); | ||
38 | } | 36 | } |
39 | return 0; | 37 | return 0; |
40 | } | 38 | } |