Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/tooltip
Modified Files:
ewl_tooltip_test.c
Log Message:
- change tabs to spaces (Ewl uses 8 space indent now instead of a tab)
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/tooltip/ewl_tooltip_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_tooltip_test.c 4 Dec 2007 05:28:04 -0000 1.1
+++ ewl_tooltip_test.c 6 May 2008 20:18:57 -0000 1.2
@@ -1,4 +1,4 @@
-/* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+/* vim: set sw=8 ts=8 sts=8 expandtab: */
#include "Ewl_Test.h"
#include "ewl_test_private.h"
#include "ewl_button.h"
@@ -10,34 +10,34 @@
void
test_info(Ewl_Test *test)
{
- test->name = "Tooltip";
- test->tip = "Defines a widget for displaying short\n"
- "messages after a delay.";
- test->filename = __FILE__;
- test->func = create_test;
- test->type = EWL_TEST_TYPE_SIMPLE;
+ test->name = "Tooltip";
+ test->tip = "Defines a widget for displaying short\n"
+ "messages after a delay.";
+ test->filename = __FILE__;
+ test->func = create_test;
+ test->type = EWL_TEST_TYPE_SIMPLE;
}
static int
create_test(Ewl_Container *box)
{
- Ewl_Widget *button;
+ Ewl_Widget *button;
- button = ewl_button_new();
- ewl_button_label_set(EWL_BUTTON(button), "Hover on this button");
- ewl_container_child_append(EWL_CONTAINER(box), button);
- ewl_object_fill_policy_set(EWL_OBJECT(button), EWL_FLAG_FILL_SHRINK);
- ewl_attach_tooltip_text_set(button, "and see.");
- ewl_widget_show(button);
-
- button = ewl_button_new();
- ewl_button_label_set(EWL_BUTTON(button), "Hover on this button");
- ewl_container_child_append(EWL_CONTAINER(box), button);
- ewl_object_fill_policy_set(EWL_OBJECT(button), EWL_FLAG_FILL_SHRINK);
- ewl_attach_tooltip_text_set(button, "and see more.");
- ewl_widget_show(button);
+ button = ewl_button_new();
+ ewl_button_label_set(EWL_BUTTON(button), "Hover on this button");
+ ewl_container_child_append(EWL_CONTAINER(box), button);
+ ewl_object_fill_policy_set(EWL_OBJECT(button), EWL_FLAG_FILL_SHRINK);
+ ewl_attach_tooltip_text_set(button, "and see.");
+ ewl_widget_show(button);
+
+ button = ewl_button_new();
+ ewl_button_label_set(EWL_BUTTON(button), "Hover on this button");
+ ewl_container_child_append(EWL_CONTAINER(box), button);
+ ewl_object_fill_policy_set(EWL_OBJECT(button), EWL_FLAG_FILL_SHRINK);
+ ewl_attach_tooltip_text_set(button, "and see more.");
+ ewl_widget_show(button);
- return 1;
+ return 1;
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs