Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/border


Modified Files:
        ewl_border.c 


Log Message:
- formatting

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/border/ewl_border.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_border.c        6 Dec 2006 16:05:11 -0000       1.2
+++ ewl_border.c        6 Dec 2006 20:21:56 -0000       1.3
@@ -27,7 +27,7 @@
        Ewl_Widget *border;
        Ewl_Widget *border_box;
        Ewl_Widget *separator;
-        Ewl_Widget *alabel, *avbox, *pvbox, *plabel, *cvbox, *clabel;
+       Ewl_Widget *alabel, *avbox, *pvbox, *plabel, *cvbox, *clabel;
        Ewl_Widget *button_check;
 
        border = ewl_border_new();
@@ -142,22 +142,22 @@
                            border_change_position, border);
        ewl_widget_show(button_pbottom);
 
-        cvbox = ewl_vbox_new();
-        ewl_object_alignment_set(EWL_OBJECT(cvbox), EWL_FLAG_ALIGN_CENTER);
-        ewl_container_child_append(EWL_CONTAINER(box), cvbox);
-        ewl_widget_show(cvbox);
-
-        clabel = ewl_label_new();
-        ewl_label_text_set(EWL_LABEL(clabel), "Enable/Disable");
-        ewl_container_child_append(EWL_CONTAINER(cvbox), clabel);
-        ewl_widget_show(clabel);
-
-        button_check = ewl_checkbutton_new();
-        ewl_button_label_set(EWL_BUTTON(button_check), "Disable");
-        ewl_container_child_append(EWL_CONTAINER(cvbox), button_check);
-        ewl_callback_append(button_check, EWL_CALLBACK_CLICKED,
-                            checkbutton_cb, border);
-        ewl_widget_show(button_check);
+       cvbox = ewl_vbox_new();
+       ewl_object_alignment_set(EWL_OBJECT(cvbox), EWL_FLAG_ALIGN_CENTER);
+       ewl_container_child_append(EWL_CONTAINER(box), cvbox);
+       ewl_widget_show(cvbox);
+
+       clabel = ewl_label_new();
+       ewl_label_text_set(EWL_LABEL(clabel), "Enable/Disable");
+       ewl_container_child_append(EWL_CONTAINER(cvbox), clabel);
+       ewl_widget_show(clabel);
+
+       button_check = ewl_checkbutton_new();
+       ewl_button_label_set(EWL_BUTTON(button_check), "Disable");
+       ewl_container_child_append(EWL_CONTAINER(cvbox), button_check);
+       ewl_callback_append(button_check, EWL_CALLBACK_CLICKED,
+                           checkbutton_cb, border);
+       ewl_widget_show(button_check);
 
        return 1;
 }
@@ -211,10 +211,10 @@
 checkbutton_cb(Ewl_Widget *w, void *ev __UNUSED__, void *data)
 {
        if (ewl_checkbutton_is_checked(EWL_CHECKBUTTON(w)))
-        {
+       {
                ewl_widget_disable(EWL_WIDGET(data));
                ewl_button_label_set(EWL_BUTTON(w), "Enable");
-        }
+       }
        else if (!ewl_checkbutton_is_checked(EWL_CHECKBUTTON(w)))
        {
                ewl_widget_enable(EWL_WIDGET(data));



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