Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/image_thumbnail
Modified Files:
ewl_image_thumbnail_test.c
Log Message:
- tabs are a tricky beast. looks like I missed some.
===================================================================
RCS file:
/cvs/e/e17/libs/ewl/src/bin/tests/image_thumbnail/ewl_image_thumbnail_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_image_thumbnail_test.c 6 May 2008 20:09:04 -0000 1.2
+++ ewl_image_thumbnail_test.c 7 May 2008 13:38:17 -0000 1.3
@@ -18,7 +18,7 @@
{
test->name = "Image Thumbnail";
test->tip = "Provides a widget for displaying\n"
- "thumbnails of images.";
+ "thumbnails of images.";
test->filename = __FILE__;
test->func = create_test;
test->type = EWL_TEST_TYPE_SIMPLE;
@@ -36,13 +36,13 @@
image_box = EWL_WIDGET(box);
if ((ecore_file_exists(PACKAGE_DATA_DIR "/ewl/images/e-logo.png")) !=
-1)
- image_file = strdup(PACKAGE_DATA_DIR "/ewl/images/e-logo.png");
+ image_file = strdup(PACKAGE_DATA_DIR "/ewl/images/e-logo.png");
else if ((ecore_file_exists(PACKAGE_SOURCE_DIR
"/data/images/e-logo.png")) != -1)
- image_file = strdup(PACKAGE_SOURCE_DIR
"/data/images/e-logo.png");
+ image_file = strdup(PACKAGE_SOURCE_DIR
"/data/images/e-logo.png");
else if ((ecore_file_exists("./data/images/e-logo.png")) != -1)
- image_file = strdup("./data/images/e-logo.png");
+ image_file = strdup("./data/images/e-logo.png");
else if ((ecore_file_exists("../data/images/e-logo.png")) != -1)
- image_file = strdup("../data/images/e-logo.png");
+ image_file = strdup("../data/images/e-logo.png");
image = ewl_image_new();
ewl_image_file_set(EWL_IMAGE(image), image_file, NULL);
@@ -52,19 +52,19 @@
ewl_widget_show(image);
if ((ecore_file_exists(PACKAGE_DATA_DIR "/ewl/images/Draw.png")) != -1)
- icon_file = strdup(PACKAGE_DATA_DIR "/ewl/images/Draw.png");
+ icon_file = strdup(PACKAGE_DATA_DIR "/ewl/images/Draw.png");
else if ((ecore_file_exists(PACKAGE_SOURCE_DIR
"/data/images/Draw.png")) != -1)
- icon_file = strdup(PACKAGE_SOURCE_DIR "/data/images/Draw.png");
+ icon_file = strdup(PACKAGE_SOURCE_DIR "/data/images/Draw.png");
else if ((ecore_file_exists("./data/images/Draw.png")) != -1)
- icon_file = strdup("./data/images/Draw.png");
+ icon_file = strdup("./data/images/Draw.png");
else if ((ecore_file_exists("../data/images/Draw.png")) != -1)
- icon_file = strdup("../data/images/Draw.png");
+ icon_file = strdup("../data/images/Draw.png");
thumb = ewl_image_thumbnail_get(EWL_IMAGE(image));
ewl_image_constrain_set(EWL_IMAGE(thumb), 32);
if (icon_file)
- ewl_image_file_path_set(EWL_IMAGE(thumb), icon_file);
+ ewl_image_file_path_set(EWL_IMAGE(thumb), icon_file);
ewl_container_child_append(EWL_CONTAINER(image_box), thumb);
ewl_widget_show(thumb);
-------------------------------------------------------------------------
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