Enlightenment CVS committal
Author : ningerso
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_border.c
Log Message:
Use a label for the border text rather than the heavier text widget.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_border.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_border.c 15 Feb 2006 16:52:18 -0000 1.12
+++ ewl_border.c 30 Jun 2006 00:33:09 -0000 1.13
@@ -48,7 +48,7 @@
ewl_widget_appearance_set(EWL_WIDGET(b), EWL_BORDER_TYPE);
ewl_widget_inherit(EWL_WIDGET(b), EWL_BORDER_TYPE);
- b->label = ewl_text_new();
+ b->label = ewl_label_new();
ewl_widget_internal_set(b->label, TRUE);
ewl_container_child_append(EWL_CONTAINER(b), b->label);
ewl_widget_show(b->label);
@@ -80,7 +80,7 @@
DCHECK_PARAM_PTR("b", b);
DCHECK_TYPE("b", b, EWL_BORDER_TYPE);
- ewl_text_text_set(EWL_TEXT(b->label), t);
+ ewl_label_text_set(EWL_LABEL(b->label), t);
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
@@ -97,7 +97,7 @@
DCHECK_PARAM_PTR_RET("b", b, NULL);
DCHECK_TYPE_RET("b", b, EWL_BORDER_TYPE, NULL);
- DRETURN_PTR(ewl_text_text_get(EWL_TEXT(b->label)), DLEVEL_STABLE);
+ DRETURN_PTR(ewl_label_text_get(EWL_LABEL(b->label)), DLEVEL_STABLE);
}
/**
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