Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/dropshadow


Modified Files:
        e_mod_main.c 


Log Message:
Allow dropshadow module to use it's own icon in the Config Panel.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/dropshadow/e_mod_main.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- e_mod_main.c        31 Oct 2007 12:23:13 -0000      1.47
+++ e_mod_main.c        31 Oct 2007 15:12:42 -0000      1.48
@@ -82,11 +82,12 @@
 e_modapi_init(E_Module *m)
 {
    Dropshadow *ds;
+   char buf[4096];
    
    ds = _ds_init(m);
-   
+   snprintf(buf, sizeof(buf), "%s/e-module-dropshadow.edj", 
e_module_dir_get(m));
    e_configure_registry_category_add("appearance", 10, _("Appearance"), NULL, 
"enlightenment/appearance");
-   e_configure_registry_item_add("appearance/dropshadow", 150, 
_("Dropshadow"), NULL, "enlightenment/dropshadow", 
e_int_config_dropshadow_module);
+   e_configure_registry_item_add("appearance/dropshadow", 150, 
_("Dropshadow"), NULL, buf, e_int_config_dropshadow_module);
    
    dropshadow_mod = m;
    



-------------------------------------------------------------------------
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

Reply via email to