From f195132338ba2020a63e0ef63b31204c07c7e2a9 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 8 Mar 2010 18:20:39 +0000 Subject: [PATCH] Icon for Config Panel Entry. SVN revision: 47047 --- src/modules/illume-home/e_mod_config.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/modules/illume-home/e_mod_config.c b/src/modules/illume-home/e_mod_config.c index 5e206c62f..f78f4b278 100644 --- a/src/modules/illume-home/e_mod_config.c +++ b/src/modules/illume-home/e_mod_config.c @@ -20,6 +20,8 @@ Evas_Object *delay_label, *delay_slider; int il_home_config_init(E_Module *m) { + char buff[PATH_MAX]; + conf_edd = E_CONFIG_DD_NEW("Illume-Home_Cfg", Il_Home_Config); #undef T #undef D @@ -54,11 +56,13 @@ il_home_config_init(E_Module *m) il_home_cfg->mod_dir = eina_stringshare_add(m->dir); + snprintf(buff, sizeof(buff), "%s/e-module-illume-home.edj", + il_home_cfg->mod_dir); + e_configure_registry_category_add("illume", 0, _("Illume"), NULL, "enlightenment/display"); e_configure_registry_generic_item_add("illume/home", 0, _("Home"), - NULL, "enlightenment/launcher", - il_home_config_show); + buff, "icon", il_home_config_show); return 1; }