Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_border.c ewl_border.h ewl_iconbox.c 


Log Message:
- API Break. Change ewl_border_text_set/get -> ewl_border_label_set/get

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_border.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_border.c        16 Nov 2006 22:09:00 -0000      1.14
+++ ewl_border.c        6 Dec 2006 16:05:12 -0000       1.15
@@ -72,12 +72,12 @@
  * @param b: the border widget to change the text
  * @param t: the text to set for the border label
  * @return Returns no value.
- * @brief Set the text for an border label
+ * @brief Set the label for the border
  *
  * Change the text of the border label to the string @a t.
  */
 void
-ewl_border_text_set(Ewl_Border *b, const char *t)
+ewl_border_label_set(Ewl_Border *b, const char *t)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR("b", b);
@@ -91,10 +91,10 @@
 /**
  * @param b: the border to retrieve the label text
  * @return Returns the border label text on success, NULL on failure.
- * @brief Get the text label from a border widget
+ * @brief Get the label from a border widget
  */
 const char *
-ewl_border_text_get(Ewl_Border *b)
+ewl_border_label_get(Ewl_Border *b)
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("b", b, NULL);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_border.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_border.h        4 Dec 2006 07:16:38 -0000       1.11
+++ ewl_border.h        6 Dec 2006 16:05:12 -0000       1.12
@@ -49,8 +49,8 @@
 Ewl_Widget     *ewl_border_new(void);
 int             ewl_border_init(Ewl_Border * b);
 
-void            ewl_border_text_set(Ewl_Border *b, const char *t);
-const char     *ewl_border_text_get(Ewl_Border *b);
+void            ewl_border_label_set(Ewl_Border *b, const char *t);
+const char     *ewl_border_label_get(Ewl_Border *b);
 
 void            ewl_border_label_position_set(Ewl_Border *b, Ewl_Position pos);
 Ewl_Position    ewl_border_label_position_get(Ewl_Border *b);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -3 -r1.121 -r1.122
--- ewl_iconbox.c       6 Nov 2006 16:12:20 -0000       1.121
+++ ewl_iconbox.c       6 Dec 2006 16:05:12 -0000       1.122
@@ -858,7 +858,7 @@
                x = ewl_object_current_x_get(EWL_OBJECT(ib));
                y = ewl_object_current_y_get(EWL_OBJECT(ib));
                
-               /*printf ("Edit label event on: '%s'\n", 
ewl_border_text_get(EWL_BORDER(ib)));*/
+               /*printf ("Edit label event on: '%s'\n", 
ewl_border_label_get(EWL_BORDER(ib)));*/
                ewl_object_current_size_get(EWL_OBJECT(ib->w_label), &w, &h);
                ewl_object_current_size_get(EWL_OBJECT(ib->image), &iw, &ih);
                
ewl_object_minimum_size_set(EWL_OBJECT(ib->icon_box_parent->entry), w,h);
@@ -1582,7 +1582,7 @@
 
        ib->drag = 0;
        ib->icon_box_parent->drag_icon = NULL;
-       /*printf ("Button up on icon: %s\n", 
ewl_border_text_get(EWL_BORDER(ib)) );*/
+       /*printf ("Button up on icon: %s\n", 
ewl_border_label_get(EWL_BORDER(ib)) );*/
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }



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