diff options
author | Christopher Michael <cpmichael1@comcast.net> | 2010-03-08 18:18:16 +0000 |
---|---|---|
committer | Christopher Michael <cpmichael1@comcast.net> | 2010-03-08 18:18:16 +0000 |
commit | 0d0742163b233c16ec88021a45a7087221411a73 (patch) | |
tree | e7ff780d572b79c52378c3d4a62c7818fbf33dff /src/modules/illume-keyboard | |
parent | 058aa8cbd672a3f3d25ea9c2e86ec44600516272 (diff) | |
download | enlightenment-0d0742163b233c16ec88021a45a7087221411a73.tar.gz |
Icon for Entry in config panel.
SVN revision: 47046
Diffstat (limited to 'src/modules/illume-keyboard')
-rw-r--r-- | src/modules/illume-keyboard/e_mod_config.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/illume-keyboard/e_mod_config.c b/src/modules/illume-keyboard/e_mod_config.c index ac8b9e6fad..19f06f1124 100644 --- a/src/modules/illume-keyboard/e_mod_config.c +++ b/src/modules/illume-keyboard/e_mod_config.c @@ -18,6 +18,8 @@ int kbd_external = 0; EAPI int il_kbd_config_init(E_Module *m) { + char buff[PATH_MAX]; + conf_edd = E_CONFIG_DD_NEW("Illume_Kbd_Cfg", Il_Kbd_Config); #undef T #undef D @@ -52,11 +54,12 @@ il_kbd_config_init(E_Module *m) il_kbd_cfg->mod_dir = eina_stringshare_add(m->dir); + snprintf(buff, sizeof(buff), "%s/e-module-illume-keyboard.edj", + il_kbd_cfg->mod_dir); e_configure_registry_category_add("illume", 0, _("Illume"), NULL, "enlightenment/display"); e_configure_registry_generic_item_add("illume/keyboard", 0, _("Keyboard"), - NULL, "enlightenment/keyboard", - il_kbd_config_show); + buff, "icon", il_kbd_config_show); return 1; } |