check for a custom desklock command before actually trying to lock using one: closes ticket #664

SVN revision: 71837
This commit is contained in:
Mike Blumenkrantz 2012-06-08 09:37:57 +00:00
parent b78a276183
commit 53090a686f
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ e_desklock_show(void)
if (_e_custom_desklock_exe) return 0;
if (e_config->desklock_use_custom_desklock)
if (e_config->desklock_use_custom_desklock && e_config->desklock_custom_desklock_cmd && e_config->desklock_custom_desklock_cmd[0])
{
_e_custom_desklock_exe_handler =
ecore_event_handler_add(ECORE_EXE_EVENT_DEL,