Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/etox
Dir : e17/libs/etox/src
Modified Files:
etox.c
Log Message:
append now works... :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -3 -r1.102 -r1.103
--- etox.c 13 Nov 2004 11:17:11 -0000 1.102
+++ etox.c 17 Nov 2004 11:54:14 -0000 1.103
@@ -199,6 +199,22 @@
CHECK_PARAM_POINTER("obj", obj);
CHECK_PARAM_POINTER("text", text);
+ {
+ char *text2;
+
+ text2 = etox_get_text(obj);
+ if (text2)
+ {
+ text2 = realloc(text2, strlen(text2) + strlen(text) + 1);
+ strcat(text2, text);
+ }
+ else
+ text2 = strdup(text);
+ etox_set_text(obj, text2);
+ free(text2);
+ return;
+ }
+#if 0
et = evas_object_smart_data_get(obj);
/*
@@ -266,6 +282,7 @@
etox_layout(et);
if (et->lines && evas_object_visible_get(obj))
evas_object_show(et->clip);
+#endif
}
/**
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs