Enlightenment CVS committal
Author : codewarrior
Project : e17
Module : proto
Dir : e17/proto/enhance/src/lib
Modified Files:
enhance_widget.c
Log Message:
patch from lok for the dialog signals / props
===================================================================
RCS file: /cvs/e/e17/proto/enhance/src/lib/enhance_widget.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- enhance_widget.c 15 Jul 2006 00:27:19 -0000 1.10
+++ enhance_widget.c 15 Jul 2006 03:43:42 -0000 1.11
@@ -96,13 +96,29 @@
{
E_Widget *dia;
char *id;
+ char *tag;
EXML_Node *prop;
id = ecore_hash_get(node->attributes, "id");
if(!id) return NULL;
dia = _e_widget_new(en, node, etk_dialog_new(), id);
-
+ if((tag = exml_down(en->xml)) != NULL)
+ {
+ do
+ {
+ if(!strcmp(tag, "property"))
+ {
+ _e_traverse_property_xml(en);
+ }
+ else if(!strcmp(tag, "signal"))
+ {
+ _e_traverse_signal_xml(en);
+ }
+ }
+ while((tag = exml_next_nomove(en->xml)) != NULL);
+ }
+
if((prop = find_node(node, "internal-child", "action_area")))
{
if((prop = find_node(prop, "class", "GtkHButtonBox")))
@@ -981,7 +997,7 @@
int x_padding = 0;
int y_padding = 0;
int flags_set = 0;
- Etk_Fill_Policy_Flags fill_policy;
+ Etk_Fill_Policy_Flags fill_policy = ETK_FILL_POLICY_NONE;
if(child->packing)
{
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs