Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : screenshot

Dir     : e_modules/screenshot/src


Modified Files:
        e_mod_main.c 


Log Message:
Use the module icon in the Configuration Panel.

===================================================================
RCS file: /cvs/e/e_modules/screenshot/src/e_mod_main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_main.c        25 Jan 2008 01:42:07 -0000      1.12
+++ e_mod_main.c        14 Jun 2008 07:00:11 -0000      1.13
@@ -74,11 +74,15 @@
 EAPI void *
 e_modapi_init(E_Module *m) 
 {
+   char buf[4096];
+
+   snprintf(buf, sizeof(buf), "%s/e-module-screenshot.edj", m->dir);
+
    /* register config dialog for panel */
    e_configure_registry_category_add("extensions", 90, "Screenshot", 
                                     NULL, "enlightenment/extensions");
    e_configure_registry_item_add("extensions/screenshot", 20, "Screenshot", 
-                                NULL, "enlightenment/appearance", 
+                                NULL, buf, 
                                 e_int_config_screenshot_module);
 
    conf_edd = E_CONFIG_DD_NEW("Config", Config);



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to