add -restart to enlightenment_remote

SVN revision: 13762
This commit is contained in:
Dan Sinclair 2005-03-17 01:30:50 +00:00 committed by Dan Sinclair
parent 1066f5d75b
commit a65eadfd50
3 changed files with 9 additions and 1 deletions

View File

@ -213,6 +213,12 @@ _e_ipc_cb_client_data(void *data, int type, void *event)
bg, strlen(bg) + 1);
}
break;
case E_IPC_OP_RESTART:
{
restart = 1;
ecore_main_loop_quit();
}
break;
default:
break;
}

View File

@ -23,6 +23,7 @@ typedef enum _E_Ipc_Op {
E_IPC_OP_BG_SET,
E_IPC_OP_BG_GET,
E_IPC_OP_BG_GET_REPLY,
E_IPC_OP_RESTART,
E_IPC_OP_LAST
} E_Ipc_Op;

View File

@ -48,7 +48,8 @@ E_IPC_Opt_Handler handlers[] =
OSTR("-module-enable", "Enable module OPT1 if not enabled", E_IPC_OP_MODULE_ENABLE, 0),
OSTR("-module-disable", "Disable module OPT1 if not disabled", E_IPC_OP_MODULE_DISABLE, 0),
OREQ("-module-list", "List all loaded modules and their states", E_IPC_OP_MODULE_LIST, 1),
OSTR("-bg-set", "Set the background edje file to be OPT1", E_IPC_OP_BG_SET, 0)
OSTR("-bg-set", "Set the background edje file to be OPT1", E_IPC_OP_BG_SET, 0),
OREQ("-restart", "Restart E17", E_IPC_OP_RESTART, 0)
};
/* externally accessible functions */