From: Enlightenment C. <no...@cv...> - 2007-01-20 18:22:35
|
Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/plugins Modified Files: ewl_io_manager_text_c_plugin.c Log Message: - add a monospaced font to the theme - use it in the text-c io-plugin and in the tutorial for source code =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/plugins/ewl_io_manager_text_c_plugin.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- ewl_io_manager_text_c_plugin.c 6 Jan 2007 19:48:30 -0000 1.4 +++ ewl_io_manager_text_c_plugin.c 21 Jan 2007 00:22:33 -0000 1.5 @@ -98,6 +98,7 @@ char *str; ret = ewl_text_new(); + ewl_text_font_set(EWL_TEXT(ret), "ewl/monospace"); stat(uri, &buf); str = malloc(sizeof(char) * (buf.st_size + 1)); @@ -123,6 +124,7 @@ setup_hash(); ret = ewl_text_new(); + ewl_text_font_set(EWL_TEXT(ret), "ewl/monospace"); text_set(EWL_TEXT(ret), string); DRETURN_PTR(ret, DLEVEL_STABLE); |