Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_config.h e_config.c 


Log Message:
Added new prop value for default border style.
Fixed leakage in e config free where some const char props were not getting
stringshare_del.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.h,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -3 -r1.125 -r1.126
--- e_config.h  14 Oct 2006 03:09:32 -0000      1.125
+++ e_config.h  14 Oct 2006 03:45:55 -0000      1.126
@@ -51,7 +51,7 @@
 /* increment this whenever a new set of config values are added but the users
  * config doesn't need top be wiped - simply new values need to be put in
  */
-#define E_CONFIG_FILE_GENERATION 0x0102
+#define E_CONFIG_FILE_GENERATION 0x0103
 #define E_CONFIG_FILE_VERSION    ((E_CONFIG_FILE_EPOCH << 16) | 
E_CONFIG_FILE_GENERATION)
 
 #define E_EVAS_ENGINE_DEFAULT      0
@@ -251,6 +251,8 @@
    int wallpaper_grad_c2_r; // INTERNAL
    int wallpaper_grad_c2_g; // INTERNAL
    int wallpaper_grad_c2_b; // INTERNAL
+
+   const char *theme_default_border_style;
    
    Evas_List *mime_icons;
 };
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.208
retrieving revision 1.209
diff -u -3 -r1.208 -r1.209
--- e_config.c  11 Oct 2006 08:46:52 -0000      1.208
+++ e_config.c  14 Oct 2006 03:45:55 -0000      1.209
@@ -498,6 +498,8 @@
    E_CONFIG_VAL(D, T, wallpaper_grad_c2_r, INT);
    E_CONFIG_VAL(D, T, wallpaper_grad_c2_g, INT);
    E_CONFIG_VAL(D, T, wallpaper_grad_c2_b, INT);
+
+   E_CONFIG_VAL(D, T, theme_default_border_style, STR);
    
    E_CONFIG_LIST(D, T, mime_icons, _e_config_mime_icon_edd); /**/
    
@@ -1277,6 +1279,10 @@
 //     CFG_MIME_ICON("image/*", "e/icons/fileman/mime/image");
      }
    IFCFGEND;
+
+   IFCFG(0x00103);
+   e_config->theme_default_border_style = evas_stringshare_add("default");
+   IFCFGEND;
    
 #if 0 /* example of new config */
    IFCFG(0x0090); /* the version # where this value(s) was introduced */
@@ -1960,6 +1966,13 @@
        if (e_config->transition_desk) 
evas_stringshare_del(e_config->transition_desk);
        if (e_config->transition_change) 
evas_stringshare_del(e_config->transition_change);
        if (e_config->input_method) 
evas_stringshare_del(e_config->input_method);
+       if (e_config->exebuf_term_cmd) 
evas_stringshare_del(e_config->exebuf_term_cmd);
+       if (e_config->desklock_personal_passwd) 
evas_stringshare_del(e_config->desklock_personal_passwd);
+       if (e_config->desklock_background) 
evas_stringshare_del(e_config->desklock_background);
+       if (e_config->icon_theme) evas_stringshare_del(e_config->icon_theme);
+       if (e_config->wallpaper_import_last_dev) 
evas_stringshare_del(e_config->wallpaper_import_last_dev);
+       if (e_config->wallpaper_import_last_path) 
evas_stringshare_del(e_config->wallpaper_import_last_path);
+       if (e_config->theme_default_border_style) 
evas_stringshare_del(e_config->theme_default_border_style);
        E_FREE(e_config);
      }
 }



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