Enlightenment CVS committal Author : morlenxus Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_actions.c Log Message: Do not allow to kill internal windows using the kill keybinding. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_actions.c,v retrieving revision 1.106 retrieving revision 1.107 diff -u -3 -r1.106 -r1.107 --- e_actions.c 15 Aug 2007 05:48:47 -0000 1.106 +++ e_actions.c 20 Aug 2007 14:28:21 -0000 1.107 @@ -293,6 +293,9 @@ obj = E_OBJECT(e_border_focused_get()); if (!obj) return; } + bd = (E_Border *)obj; + if ((bd->lock_close) || (bd->internal)) return; + if (kill_dialog) e_object_del(E_OBJECT(kill_dialog)); if (e_config->cnfmdlg_disabled) @@ -301,7 +304,6 @@ return; } - bd = (E_Border *)obj; snprintf(dialog_text, sizeof(dialog_text), _("You are about to kill %s.<br><br>" "Please keep in mind that all data of this window,<br>" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs