Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_config.c e_mod_main.c 


Log Message:


abstract config dialogs more - include params.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_config.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- e_mod_config.c      30 Apr 2007 23:09:33 -0000      1.40
+++ e_mod_config.c      4 Jul 2007 11:11:02 -0000       1.41
@@ -190,13 +190,15 @@
 static void 
 _cb_config(void *data, void *data2) 
 {
-   char path[4096];
+   char path[PATH_MAX];
    E_Config_Dialog_Data *cfdata;
    
    cfdata = data;
    snprintf(path, sizeof(path), "%s/.e/e/applications/bar/%s/.order", 
            e_user_homedir_get(), cfdata->dir);
-   
e_int_config_apps_ibar_other(e_container_current_get(e_manager_current_get()), 
path);
+   e_configure_registry_call("internal/ibar_other",
+                            e_container_current_get(e_manager_current_get()),
+                            path);
 }
 
 static void
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -3 -r1.178 -r1.179
--- e_mod_main.c        13 Apr 2007 01:36:05 -0000      1.178
+++ e_mod_main.c        4 Jul 2007 11:11:02 -0000       1.179
@@ -692,8 +692,9 @@
    IBar *b;
    
    b = data;
-   e_int_config_apps_ibar_other(b->inst->gcc->gadcon->zone->container, 
-                               b->apps->path);
+   e_configure_registry_call("internal/ibar_other",
+                            b->inst->gcc->gadcon->zone->container,
+                            b->apps->path);
 }
 
 static void



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to