Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_dialog_test.c 


Log Message:
- tabs are a tricky beast. looks like I missed some.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/dialog/ewl_dialog_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_dialog_test.c   6 May 2008 20:09:03 -0000       1.2
+++ ewl_dialog_test.c   7 May 2008 13:38:15 -0000       1.3
@@ -47,14 +47,14 @@
         chain = ewl_radiobutton_new();
         ewl_button_label_set(EWL_BUTTON(chain), "Top");
         ewl_radiobutton_value_set(EWL_RADIOBUTTON(chain), 
-                                               (void *)EWL_POSITION_TOP);
+                                                (void *)EWL_POSITION_TOP);
         ewl_container_child_append(EWL_CONTAINER(border), chain);
         ewl_widget_show(chain);
 
         o = ewl_radiobutton_new();
         ewl_button_label_set(EWL_BUTTON(o), "Right");
         ewl_radiobutton_value_set(EWL_RADIOBUTTON(o), 
-                                               (void *)EWL_POSITION_RIGHT);
+                                                (void *)EWL_POSITION_RIGHT);
         ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(chain));
         ewl_container_child_append(EWL_CONTAINER(border), o);
         ewl_widget_show(o);
@@ -62,7 +62,7 @@
         o = ewl_radiobutton_new();
         ewl_button_label_set(EWL_BUTTON(o), "Left");
         ewl_radiobutton_value_set(EWL_RADIOBUTTON(o), 
-                                               (void *)EWL_POSITION_LEFT);
+                                                (void *)EWL_POSITION_LEFT);
         ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(chain));
         ewl_container_child_append(EWL_CONTAINER(border), o);
         ewl_widget_show(o);
@@ -70,7 +70,7 @@
         o = ewl_radiobutton_new();
         ewl_button_label_set(EWL_BUTTON(o), "Bottom");
         ewl_radiobutton_value_set(EWL_RADIOBUTTON(o), 
-                                               (void *)EWL_POSITION_BOTTOM);
+                                                (void *)EWL_POSITION_BOTTOM);
         ewl_radiobutton_chain_set(EWL_RADIOBUTTON(o), EWL_RADIOBUTTON(chain));
         ewl_checkbutton_checked_set(EWL_CHECKBUTTON(o), TRUE);
         ewl_container_child_append(EWL_CONTAINER(border), o);
@@ -95,7 +95,7 @@
 
         radio = EWL_RADIOBUTTON(data);
         pos = (Ewl_Position)ewl_radiobutton_value_get(
-                       ewl_radiobutton_chain_selected_get(radio));
+                        ewl_radiobutton_chain_selected_get(radio));
         /* this is a bad cast, but the ewl_test will ever be a standalone app 
*/
         win = EWL_WINDOW(ewl_embed_widget_find(w));
 
@@ -105,21 +105,21 @@
         ewl_window_class_set(EWL_WINDOW(dialog), "EFL Test Application");
         ewl_window_transient_for(EWL_WINDOW(dialog), win);
         ewl_callback_append(dialog, EWL_CALLBACK_DELETE_WINDOW,
-                                               dialog_delete_cb, NULL);
+                                                dialog_delete_cb, NULL);
         ewl_dialog_action_position_set(EWL_DIALOG(dialog), pos);
         ewl_widget_show(dialog);
         if (pos == EWL_POSITION_TOP)
-               ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
-                               EWL_POSITION_BOTTOM);
+                ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
+                                EWL_POSITION_BOTTOM);
         else if (pos == EWL_POSITION_BOTTOM)
-               ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
-                               EWL_POSITION_TOP);
+                ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
+                                EWL_POSITION_TOP);
         else if (pos == EWL_POSITION_LEFT)
-               ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
-                               EWL_POSITION_RIGHT);
+                ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
+                                EWL_POSITION_RIGHT);
         else if (pos == EWL_POSITION_RIGHT)
-               ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
-                               EWL_POSITION_LEFT);
+                ewl_dialog_active_area_set(EWL_DIALOG(dialog), 
+                                EWL_POSITION_LEFT);
 
         hbox = ewl_hbox_new();
         ewl_container_child_append(EWL_CONTAINER(dialog), hbox);
@@ -128,8 +128,8 @@
 
         o = ewl_image_new();
         ewl_image_file_set(EWL_IMAGE(o),
-               ewl_icon_theme_icon_path_get(EWL_ICON_DIALOG_INFORMATION, 46),
-               EWL_ICON_DIALOG_INFORMATION);
+                ewl_icon_theme_icon_path_get(EWL_ICON_DIALOG_INFORMATION, 46),
+                EWL_ICON_DIALOG_INFORMATION);
         ewl_container_child_append(EWL_CONTAINER(hbox), o);
         ewl_object_padding_set(EWL_OBJECT(o), 0, 20, 0, 0);
         ewl_widget_show(o);
@@ -147,14 +147,14 @@
         ewl_stock_type_set(EWL_STOCK(o), EWL_STOCK_OK);
         ewl_container_child_append(EWL_CONTAINER(dialog), o);
         ewl_callback_append(o, EWL_CALLBACK_CLICKED,
-                       dialog_response_cb, dialog);
+                        dialog_response_cb, dialog);
         ewl_widget_show(o);
 
         o = ewl_button_new();
         ewl_stock_type_set(EWL_STOCK(o), EWL_STOCK_CANCEL);
         ewl_container_child_append(EWL_CONTAINER(dialog), o);
         ewl_callback_append(o, EWL_CALLBACK_CLICKED,
-                       dialog_response_cb, dialog);
+                        dialog_response_cb, dialog);
         ewl_widget_show(o);
 
         ewl_dialog_active_area_set(EWL_DIALOG(dialog), EWL_POSITION_TOP);
@@ -170,9 +170,9 @@
         o = ewl_widget_name_find("dialog_label");
         response = ewl_stock_type_get(EWL_STOCK(w));
         if (response == EWL_STOCK_OK)
-               ewl_label_text_set(EWL_LABEL(o), "OK button clicked.");
+                ewl_label_text_set(EWL_LABEL(o), "OK button clicked.");
         else
-               ewl_label_text_set(EWL_LABEL(o), "Cancel button clicked.");
+                ewl_label_text_set(EWL_LABEL(o), "Cancel button clicked.");
 
         /* get rid of the dialog box */
         ewl_widget_destroy(EWL_WIDGET(data));



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to