Enlightenment CVS committal

Author  : ravenlock
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_theme.c 


Log Message:
Fix issue in which assigning the same theme category to many themes would 
result in the lack of an icon designating that it was in fact assigned.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_theme.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -3 -r1.51 -r1.52
--- e_int_config_theme.c        30 May 2007 05:44:38 -0000      1.51
+++ e_int_config_theme.c        30 May 2007 11:51:06 -0000      1.52
@@ -854,7 +854,7 @@
        t = themes->data;
        if (!strcmp(t->category, newtheme->category))
          {
-            if (t->file)
+            if ((t->file) && (strcmp(t->file, newtheme->file)))
               {
                  filename = strdup(t->file);
                  free((void *)(t->file));
@@ -873,6 +873,8 @@
      } 
    if (!themes)
        cfdata->theme_list = evas_list_append(cfdata->theme_list, newtheme);
+   else 
+        free(newtheme);
 
    return;
 }



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