Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        econfig.c 


Log Message:
Tweak debug messages in configuration settings handling.

===================================================================
RCS file: /cvs/e/e16/e/src/econfig.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- econfig.c   17 Jan 2007 01:10:42 -0000      1.14
+++ econfig.c   18 May 2007 20:43:56 -0000      1.15
@@ -231,7 +231,7 @@
    else
       name = ci->name;
 
-   if (EDebug(EDBUG_TYPE_CONFIG))
+   if (EDebug(EDBUG_TYPE_CONFIG) > 1)
       Eprintf("CfgItemLoad %s\n", name);
 
    if (!ci->ptr)
@@ -274,7 +274,7 @@
    else
       name = ci->name;
 
-   if (EDebug(EDBUG_TYPE_CONFIG))
+   if (EDebug(EDBUG_TYPE_CONFIG) > 1)
       Eprintf("CfgItemSave %s\n", name);
 
    if (!ci->ptr)
@@ -317,6 +317,9 @@
    char                buf[4096];
    E_DB_File          *edf;
 
+   if (EDebug(EDBUG_TYPE_CONFIG))
+      Eprintf("ConfigurationLoad\n");
+
    memset(&Conf, 0, sizeof(EConf));
 
    edf = e16_db_open_read(ConfigurationGetFile(buf, sizeof(buf)));
@@ -346,6 +349,9 @@
    const CfgItem      *pcl;
    char                buf[4096];
    E_DB_File          *edf;
+
+   if (EDebug(EDBUG_TYPE_CONFIG))
+      Eprintf("ConfigurationSave\n");
 
    edf = e16_db_open(ConfigurationGetFile(buf, sizeof(buf)));
    if (edf == NULL)



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