Enlightenment CVS committal Author : jethomas Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/notebook Modified Files: ewl_notebook.c Log Message: Fix a bunch of typos =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/notebook/ewl_notebook.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ewl_notebook.c 14 Nov 2007 21:15:01 -0000 1.8 +++ ewl_notebook.c 29 Nov 2007 03:50:43 -0000 1.9 @@ -110,15 +110,15 @@ char *pos; pos = data; - if (!strcmp(pos, "top")) + if (!strcmp(pos, "Top")) align = EWL_FLAG_ALIGN_TOP; - else if (!strcmp(pos, "bottom")) + else if (!strcmp(pos, "Bottom")) align = EWL_FLAG_ALIGN_BOTTOM; - else if (!strcmp(pos, "left")) + else if (!strcmp(pos, "Left")) align = EWL_FLAG_ALIGN_LEFT; - else if (!strcmp(pos, "right")) + else if (!strcmp(pos, "Right")) align = EWL_FLAG_ALIGN_RIGHT; - else if (!strcmp(pos, "center")) + else if (!strcmp(pos, "Center")) align = EWL_FLAG_ALIGN_CENTER; n = ewl_widget_name_find("notebook"); @@ -134,13 +134,13 @@ char *pos; pos = data; - if (!strcmp(pos, "top")) + if (!strcmp(pos, "Top")) align = EWL_POSITION_TOP; - else if (!strcmp(pos, "bottom")) + else if (!strcmp(pos, "Bottom")) align = EWL_POSITION_BOTTOM; - else if (!strcmp(pos, "left")) + else if (!strcmp(pos, "Left")) align = EWL_POSITION_LEFT; - else if (!strcmp(pos, "right")) + else if (!strcmp(pos, "Right")) align = EWL_POSITION_RIGHT; n = ewl_widget_name_find("notebook"); @@ -210,8 +210,8 @@ { Ewl_Widget *box2, *o, *o2 = NULL, *body, *border; unsigned int i; - char *alignment[] = {"top", "left", "center", "right", "bottom"}; - char *position[] = {"top", "left", "right", "bottom"}; + char *alignment[] = {"Top", "Left", "Center", "Right", "Bottom"}; + char *position[] = {"Top", "Left", "Right", "Bottom"}; /* box to hold everything */ body = ewl_vbox_new(); @@ -247,7 +247,7 @@ if (o2) ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(o2)); - if (!strcmp(alignment[i], "center")) + if (!strcmp(alignment[i], "Center")) ewl_checkbutton_checked_set(EWL_CHECKBUTTON(o), TRUE); ewl_widget_show(o); @@ -274,7 +274,7 @@ if (o2) ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(o2)); - if (!strcmp(alignment[i], "top")) + if (!strcmp(alignment[i], "Top")) ewl_checkbutton_checked_set(EWL_CHECKBUTTON(o), TRUE); ewl_widget_show(o); @@ -293,7 +293,7 @@ ewl_widget_show(o); o = ewl_checkbutton_new(); - ewl_button_label_set(EWL_BUTTON(o), "homogeneous tabbar"); + ewl_button_label_set(EWL_BUTTON(o), "Homogeneous tabbar"); ewl_container_child_append(EWL_CONTAINER(body), o); ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_SHRINK); ewl_callback_append(o, EWL_CALLBACK_CLICKED, ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs