Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_shelf.c 


Log Message:


and actually delete the shelf config too

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_shelf.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_shelf.c   14 May 2006 02:38:14 -0000      1.21
+++ e_shelf.c   14 May 2006 07:18:57 -0000      1.22
@@ -737,10 +737,18 @@
 static void
 _e_shelf_cb_menu_delete(void *data, E_Menu *m, E_Menu_Item *mi)
 {
+   E_Config_Shelf *cfg;
    E_Shelf *es;
    
    es = data;
+   cfg = es->cfg;
    e_object_del(E_OBJECT(es));
+   e_config->shelves = evas_list_remove(e_config->shelves, cfg);
+   if (cfg->name) evas_stringshare_del(cfg->name);
+   if (cfg->style) evas_stringshare_del(cfg->style);
+   E_FREE(cfg);
+
+   e_config_save_queue();
 }
 
 static void




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