forked from enlightenment/enlightenment
readme additiosn for the not so careful out there...
wiljanes bg set ipc... SVN revision: 12323
This commit is contained in:
parent
080b56ed3d
commit
5ce01dc4d3
10
README
10
README
|
@ -1 +1,11 @@
|
||||||
Enlightenment 0.17.0 - IN DEVELOPMENT... not a RELEASE.
|
Enlightenment 0.17.0 - IN DEVELOPMENT... not a RELEASE.
|
||||||
|
|
||||||
|
NOTE: Users of DR16 will need to rename the $prefix/bin/enlightenment
|
||||||
|
file prior to installing DR17 or it will be overwritten.
|
||||||
|
|
||||||
|
You can also use the configure --prefix option to put e17 in a separate tree
|
||||||
|
of its own (recommended) like:
|
||||||
|
|
||||||
|
./configure --prefix=/usr/local/e17
|
||||||
|
|
||||||
|
You will, as usual need to add the subsequent bin dir to your $PATH etc.
|
||||||
|
|
|
@ -169,6 +169,35 @@ _e_ipc_cb_client_data(void *data, int type, void *event)
|
||||||
free(data);
|
free(data);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case E_IPC_OP_BG_SET:
|
||||||
|
{
|
||||||
|
char *file;
|
||||||
|
char *valstr;
|
||||||
|
Evas_List *cl;
|
||||||
|
int cont;
|
||||||
|
|
||||||
|
|
||||||
|
file = malloc(e->size + 1);
|
||||||
|
file[e->size] = 0;
|
||||||
|
memcpy(file, e->data, e->size);
|
||||||
|
|
||||||
|
valstr=strdup("desktop/background");
|
||||||
|
cl=edje_file_collection_list(file);
|
||||||
|
cont=1;
|
||||||
|
while(cl && cont)
|
||||||
|
{
|
||||||
|
if(!strcmp(cl->data,valstr))
|
||||||
|
{
|
||||||
|
cont=0;
|
||||||
|
ecore_config_string_set("e.desktop.default.background", file);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
cl++;
|
||||||
|
}
|
||||||
|
edje_file_collection_list_free(cl);
|
||||||
|
free(valstr);
|
||||||
|
free(file);
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ typedef enum _E_Ipc_Op {
|
||||||
E_IPC_OP_MODULE_DISABLE,
|
E_IPC_OP_MODULE_DISABLE,
|
||||||
E_IPC_OP_MODULE_LIST,
|
E_IPC_OP_MODULE_LIST,
|
||||||
E_IPC_OP_MODULE_LIST_REPLY,
|
E_IPC_OP_MODULE_LIST_REPLY,
|
||||||
|
E_IPC_OP_BG_SET,
|
||||||
E_IPC_OP_LAST
|
E_IPC_OP_LAST
|
||||||
} E_Ipc_Op;
|
} E_Ipc_Op;
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,16 @@ _e_ipc_cb_server_add(void *data, int type, void *event)
|
||||||
0/*ref*/, 0/*ref_to*/, 0/*response*/,
|
0/*ref*/, 0/*ref_to*/, 0/*response*/,
|
||||||
NULL, 0);
|
NULL, 0);
|
||||||
}
|
}
|
||||||
|
else if ((!strcmp(argv[i], "-bg-set")) && (i < (argc - 1)))
|
||||||
|
{
|
||||||
|
i++;
|
||||||
|
v = argv[i];
|
||||||
|
ecore_ipc_server_send(_e_ipc_server,
|
||||||
|
E_IPC_DOMAIN_REQUEST,
|
||||||
|
E_IPC_OP_BG_SET,
|
||||||
|
0/*ref*/, 0/*ref_to*/, 0/*response*/,
|
||||||
|
v, strlen(v));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (reply_count >= reply_expect) ecore_main_loop_quit();
|
if (reply_count >= reply_expect) ecore_main_loop_quit();
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue