Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_gadcon.c 


Log Message:
If a config does not exist for a gadcon client on save, create it.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- e_gadcon.c  3 Jan 2007 16:41:07 -0000       1.71
+++ e_gadcon.c  3 Jan 2007 17:33:40 -0000       1.72
@@ -1512,6 +1512,7 @@
    cf_gc = e_gadcon_config_get(gcc->gadcon->name, gcc->gadcon->id);
    if (!cf_gc) return;
    cf_gcc = e_gadcon_client_config_get(gcc->gadcon, gcc->id);
+   if (!cf_gcc) e_gadcon_client_config_new(gcc->gadcon, gcc->name);
    if (!cf_gcc) return;
 
    cf_gcc->geom.pos = gcc->config.pos;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to