Enlightenment CVS committal

Author  : lok
Project : e17
Module  : proto

Dir     : e17/proto/enhance/src/lib


Modified Files:
        enhance.c 


Log Message:
icon_name property added.

===================================================================
RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- enhance.c   5 Aug 2006 17:11:18 -0000       1.14
+++ enhance.c   7 Aug 2006 03:40:34 -0000       1.15
@@ -612,6 +612,16 @@
        etk_object_properties_set(ETK_OBJECT(wid->wid), "stock_size", id, NULL);
      }
 
+   else if(!strcmp(name, "icon_name"))
+     {
+       Etk_Stock_Id id;
+       PROPERTY_STR;
+       
+       _en_stock_items_hash_init();      
+       id = (Etk_Stock_Id)ecore_hash_get(_en_stock_items_hash, value);
+       etk_object_properties_set(ETK_OBJECT(wid->wid), "stock_id", 
(Etk_Stock_Id)id, NULL);
+     }
+
    else if(!strcmp(name, "use_stock"))
      {
        PROPERTY_BOOL;



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