forked from enlightenment/enlightenment
Rename -shutdown to -exit, to match the operations in the menu. Create a -shutdown that will shut the computer down.
SVN revision: 31481
This commit is contained in:
parent
d216385aca
commit
008ef435ff
|
@ -1390,7 +1390,7 @@ break;
|
|||
/****************************************************************************/
|
||||
#define HDL E_IPC_OP_SHUTDOWN
|
||||
#if (TYPE == E_REMOTE_OPTIONS)
|
||||
OP("-shutdown", 0, "Shutdown (exit) Enlightenment", 0, HDL)
|
||||
OP("-exit", 0, "Exit Enlightenment", 0, HDL)
|
||||
#elif (TYPE == E_REMOTE_OUT)
|
||||
REQ_NULL(HDL);
|
||||
#elif (TYPE == E_WM_IN)
|
||||
|
@ -7776,6 +7776,23 @@ break;
|
|||
#endif
|
||||
#undef HDL
|
||||
|
||||
/****************************************************************************/
|
||||
#define HDL E_IPC_OP_HALT
|
||||
#if (TYPE == E_REMOTE_OPTIONS)
|
||||
OP("-shutdown", 0, "Halt (shutdown) the computer", 0, HDL)
|
||||
#elif (TYPE == E_REMOTE_OUT)
|
||||
REQ_NULL(HDL);
|
||||
#elif (TYPE == E_WM_IN)
|
||||
GENERIC(HDL);
|
||||
E_Action *act;
|
||||
act = e_action_find("halt");
|
||||
if (act && act->func.go)
|
||||
act->func.go(NULL, NULL);
|
||||
END_GENERIC();
|
||||
#elif (TYPE == E_REMOTE_IN)
|
||||
#endif
|
||||
#undef HDL
|
||||
|
||||
/****************************************************************************/
|
||||
#define HDL E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_SET
|
||||
#if (TYPE == E_REMOTE_OPTIONS)
|
||||
|
|
|
@ -411,10 +411,11 @@
|
|||
#define E_IPC_OP_HIBERNATE 376
|
||||
#define E_IPC_OP_REBOOT 377
|
||||
#define E_IPC_OP_SUSPEND 378
|
||||
#define E_IPC_OP_HALT 379
|
||||
|
||||
#define E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_SET 379
|
||||
#define E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_GET 380
|
||||
#define E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_GET_REPLY 381
|
||||
#define E_IPC_OP_DESKLOCK_CUSTOM_DESKLOCK_CMD_SET 382
|
||||
#define E_IPC_OP_DESKLOCK_CUSTOM_DESKLOCK_CMD_GET 383
|
||||
#define E_IPC_OP_DESKLOCK_CUSTOM_DESKLOCK_CMD_GET_REPLY 384
|
||||
#define E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_SET 380
|
||||
#define E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_GET 381
|
||||
#define E_IPC_OP_DESKLOCK_USE_CUSTOM_DESKLOCK_GET_REPLY 382
|
||||
#define E_IPC_OP_DESKLOCK_CUSTOM_DESKLOCK_CMD_SET 383
|
||||
#define E_IPC_OP_DESKLOCK_CUSTOM_DESKLOCK_CMD_GET 384
|
||||
#define E_IPC_OP_DESKLOCK_CUSTOM_DESKLOCK_CMD_GET_REPLY 385
|
||||
|
|
Loading…
Reference in New Issue