Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_config.c 


Log Message:
As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/pager/e_mod_config.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_config.c      20 Apr 2006 11:30:25 -0000      1.18
+++ e_mod_config.c      3 Jul 2006 07:35:44 -0000       1.19
@@ -21,6 +21,7 @@
 {
    E_Config_Dialog *cfd;
    E_Config_Dialog_View *v;
+   char buf[4096];
    
    v = E_NEW(E_Config_Dialog_View, 1);
    
@@ -30,9 +31,10 @@
    v->basic.create_widgets = _basic_create_widgets;
    v->advanced.apply_cfdata = _advanced_apply_data;
    v->advanced.create_widgets = _advanced_create_widgets;
-   
+
+   snprintf(buf, sizeof(buf), "%s/module.eap", 
e_module_dir_get(pager_config->module));
    cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
-                            _("Pager Configuration"), NULL, 0, v, ci);
+                            _("Pager Configuration"), buf, 0, v, ci);
    pager_config->config_dialog = cfd;
 }
 



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to