Enlightenment CVS committal
Author : stffrdhrn
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_intl.c
Log Message:
- Try to keep track of the input method exe
- Add error message if input method exe fails to launch
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_intl.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- e_intl.c 19 Oct 2005 23:34:17 -0000 1.46
+++ e_intl.c 20 Oct 2005 00:12:07 -0000 1.47
@@ -258,10 +258,29 @@
e_util_env_set("GTK_IM_MODULE", imc->gtk_im_module);
e_util_env_set("QT_IM_MODULE", imc->qt_im_module);
e_util_env_set("XMODIFIERS", imc->xmodifiers);
+
+ if (_e_intl_input_method_exec != NULL)
+ {
+ ecore_exe_terminate(_e_intl_input_method_exec);
+ ecore_exe_free(_e_intl_input_method_exec);
+ _e_intl_input_method_exec = NULL;
+ }
+
if (imc->e_im_exec != NULL)
{
- /* FIXME: first check ok exec availability */
_e_intl_input_method_exec =
ecore_exe_run(imc->e_im_exec, NULL);
+ ecore_exe_tag_set(_e_intl_input_method_exec,
"E/im_exec");
+
+ if ( !_e_intl_input_method_exec ||
+ !ecore_exe_pid_get(_e_intl_input_method_exec))
+ e_error_dialog_show(_("Input Method Error"),
+ _( "Error starting the input method "
+ "executable\n\n"
+
+ "please make sure that your input\n"
+ "method configuration is correct and\n"
+ "that your configuration's\n"
+ "executable is in your PATH\n"));
}
break;
}
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs