Enlightenment CVS committal Author : devilhorns Project : e_modules Module : flame
Dir : e_modules/flame Modified Files: e_mod_main.c Log Message: Better way todo icon for config panel item. =================================================================== RCS file: /cvs/e/e_modules/flame/e_mod_main.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- e_mod_main.c 31 Oct 2007 13:31:05 -0000 1.32 +++ e_mod_main.c 31 Oct 2007 13:39:28 -0000 1.33 @@ -50,23 +50,13 @@ e_modapi_init (E_Module * m) { Flame *f; - Efreet_Desktop *desk; char buf[4096]; /* Set up module's message catalogue */ bindtextdomain (PACKAGE, LOCALEDIR); bind_textdomain_codeset (PACKAGE, "UTF-8"); - snprintf(buf, sizeof(buf), "%s/module.desktop", e_module_dir_get(m)); - desk = efreet_desktop_get(buf); - if ((desk) && (desk->orig_path) && (desk->icon)) - { - snprintf(buf, sizeof(buf), "%s/%s.edj", ecore_file_dir_get(desk->orig_path), desk->icon); - efreet_desktop_free(desk); - } - else - buf[0] = '\0'; - + snprintf(buf, sizeof(buf), "%s/e-module-flame.edj", e_module_dir_get(m)); e_configure_registry_category_add("appearance", 10, _("Appearance"), NULL, "enlightenment/appearance"); e_configure_registry_item_add("appearance/flame", 150, _("Flame"), NULL, ------------------------------------------------------------------------- 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