diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/extantz/extantz.c | 7 | ||||
-rw-r--r-- | src/extantz/extantz.h | 1 | ||||
-rw-r--r-- | src/love/love.c | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 87ea40e..6c68bd2 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -61,6 +61,10 @@ static Eina_Bool _data(void *data, int type, Ecore_Con_Event_Server_Data *ev) | |||
61 | lua_getfield(ourGlobals->purkle->L, LUA_REGISTRYINDEX, ourGlobals->purkle->name); | 61 | lua_getfield(ourGlobals->purkle->L, LUA_REGISTRYINDEX, ourGlobals->purkle->name); |
62 | _M = lua_gettop(ourGlobals->purkle->L); | 62 | _M = lua_gettop(ourGlobals->purkle->L); |
63 | push_lua(ourGlobals->purkle->L, "@ ( $ )", _M, "append", buf, 0); | 63 | push_lua(ourGlobals->purkle->L, "@ ( $ )", _M, "append", buf, 0); |
64 | |||
65 | lua_getfield(ourGlobals->LSLGuiMess->L, LUA_REGISTRYINDEX, ourGlobals->LSLGuiMess->name); | ||
66 | _M = lua_gettop(ourGlobals->LSLGuiMess->L); | ||
67 | |||
64 | PI("Dialog from %s - %s", SID, command); | 68 | PI("Dialog from %s - %s", SID, command); |
65 | // TODO - Somewhere in the chain the new lines that MLP likes to put into llDialog's message munge things. Fix that. | 69 | // TODO - Somewhere in the chain the new lines that MLP likes to put into llDialog's message munge things. Fix that. |
66 | } | 70 | } |
@@ -651,7 +655,8 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
651 | // overlay_add(&ourGlobals); | 655 | // overlay_add(&ourGlobals); |
652 | GuiLuaLoad("test", ourGlobals.mainWindow, ourGlobals.world); | 656 | GuiLuaLoad("test", ourGlobals.mainWindow, ourGlobals.world); |
653 | woMan_add(&ourGlobals); | 657 | woMan_add(&ourGlobals); |
654 | ourGlobals.purkle = GuiLuaLoad("purkle", ourGlobals.mainWindow, ourGlobals.world); | 658 | ourGlobals.LSLGuiMess = GuiLuaLoad("LSLGuiMess", ourGlobals.mainWindow, ourGlobals.world); |
659 | ourGlobals.purkle = GuiLuaLoad("purkle", ourGlobals.mainWindow, ourGlobals.world); | ||
655 | ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); | 660 | ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); |
656 | 661 | ||
657 | // Bump the top toolbar above the windows. | 662 | // Bump the top toolbar above the windows. |
diff --git a/src/extantz/extantz.h b/src/extantz/extantz.h index bfab4cb..9a8f2bf 100644 --- a/src/extantz/extantz.h +++ b/src/extantz/extantz.h | |||
@@ -230,6 +230,7 @@ typedef struct _globals | |||
230 | 230 | ||
231 | winFang *files; | 231 | winFang *files; |
232 | GuiLua *purkle; | 232 | GuiLua *purkle; |
233 | GuiLua *LSLGuiMess; | ||
233 | 234 | ||
234 | Ecore_Con_Server *server; | 235 | Ecore_Con_Server *server; |
235 | const char *address; | 236 | const char *address; |
diff --git a/src/love/love.c b/src/love/love.c index aede741..113118c 100644 --- a/src/love/love.c +++ b/src/love/love.c | |||
@@ -368,7 +368,6 @@ static Eina_Bool _dataLuaSL(void *data, int type, Ecore_Con_Event_Server_Data *e | |||
368 | { | 368 | { |
369 | if (ourGlobals->client) sendBack(ourGlobals->client, SID, command); | 369 | if (ourGlobals->client) sendBack(ourGlobals->client, SID, command); |
370 | else PW("No where to send %s", command); | 370 | else PW("No where to send %s", command); |
371 | PD("DIALOG %s", command); | ||
372 | } | 371 | } |
373 | else if (0 == strncmp(command, "llMessageLinked(", 16)) | 372 | else if (0 == strncmp(command, "llMessageLinked(", 16)) |
374 | { | 373 | { |