summaryrefslogtreecommitdiff
path: root/src/bin/e_ipc.c
diff options
context:
space:
mode:
authorhandyande <handyande>2005-06-08 20:43:46 +0000
committerhandyande <handyande@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-06-08 20:43:46 +0000
commit1599d5355142708d1b64c1c8d9b1deb3214070fc (patch)
treeb0ad6ccafbc67ee6386f5aee32ce18209971506c /src/bin/e_ipc.c
parent327adc2ad06577ab1a1b46ef4be6f6c27ce477b8 (diff)
Port lang to new IPC - added in get/set to lib, but not list as I am too tired
SVN revision: 15209
Diffstat (limited to 'src/bin/e_ipc.c')
-rw-r--r--src/bin/e_ipc.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/bin/e_ipc.c b/src/bin/e_ipc.c
index 3db512c..68a2c05 100644
--- a/src/bin/e_ipc.c
+++ b/src/bin/e_ipc.c
@@ -215,47 +215,6 @@ _e_ipc_cb_client_data(void *data __UNUSED__, int type __UNUSED__, void *event)
215 free(data); 215 free(data);
216 } 216 }
217 break; 217 break;
218 case E_IPC_OP_LANG_LIST:
219 {
220 Evas_List *langs;
221 int bytes;
222 char *data;
223
224 langs = (Evas_List *)e_intl_language_list();
225 data = _e_ipc_str_list_get(langs, &bytes);
226 ecore_ipc_client_send(e->client,
227 E_IPC_DOMAIN_REPLY,
228 E_IPC_OP_LANG_LIST_REPLY,
229 0/*ref*/, 0/*ref_to*/, 0/*response*/,
230 data, bytes);
231 free(data);
232 }
233 break;
234 case E_IPC_OP_LANG_SET:
235 {
236 char *lang;
237
238 lang = _e_ipc_simple_str_dec(e->data, e->size);
239 IF_FREE(e_config->language);
240 e_config->language = lang;
241 e_intl_language_set(e_config->language);
242 e_config_save_queue();
243 }
244 break;
245 case E_IPC_OP_LANG_GET:
246 {
247 char *lang;
248
249 lang = e_config->language;
250 if (!lang) lang = "";
251 ecore_ipc_client_send(e->client,
252 E_IPC_DOMAIN_REPLY,
253 E_IPC_OP_LANG_GET_REPLY,
254 0/*ref*/, 0/*ref_to*/, 0/*response*/,
255 lang, strlen(lang) + 1);
256 free(data);
257 }
258 break;
259 case E_IPC_OP_BINDING_MOUSE_LIST: 218 case E_IPC_OP_BINDING_MOUSE_LIST:
260 { 219 {
261 Evas_List *bindings; 220 Evas_List *bindings;