Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

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


Modified Files:
        Makefile.am ewl_list_test.c 


Log Message:
use the correct paths

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/list/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Makefile.am 1 Mar 2008 08:16:51 -0000       1.5
+++ Makefile.am 29 Apr 2008 23:10:19 -0000      1.6
@@ -6,6 +6,7 @@
 -I$(top_builddir)/src/lib \
 -I$(top_srcdir)/src/bin \
 -I$(top_builddir)/src/bin \
+-DPACKAGE_DATA_DIR=\"$(datadir)\" \
 @EDJE_CFLAGS@ \
 @ECORE_CFLAGS@ \
 @EVAS_CFLAGS@ \
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/list/ewl_list_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_list_test.c     26 Apr 2008 21:07:35 -0000      1.3
+++ ewl_list_test.c     29 Apr 2008 23:10:19 -0000      1.4
@@ -60,6 +60,7 @@
        /* create a list using an ecore_list of strings of labels */
        o = ewl_border_new();
        ewl_border_label_set(EWL_BORDER(o), "Label List (single select)");
+       ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_HFILL);
        ewl_container_child_append(EWL_CONTAINER(box), o);
        ewl_widget_show(o);
 
@@ -85,6 +86,7 @@
        /* create a list using an ecore_list of strings of labels */
        o = ewl_border_new();
        ewl_border_label_set(EWL_BORDER(o), "Label List (multi select)");
+       ewl_object_fill_policy_set(EWL_OBJECT(o), EWL_FLAG_FILL_HFILL);
        ewl_container_child_append(EWL_CONTAINER(box), o);
        ewl_widget_show(o);
 
@@ -139,15 +141,15 @@
        data->rows = calloc(3, sizeof(List_Test_Row_Data *));
 
        data->rows[0] = calloc(1, sizeof(List_Test_Row_Data));
-       data->rows[0]->image = strdup("/usr/local/share/ewl/e-logo.png");
+       data->rows[0]->image = strdup(PACKAGE_DATA_DIR"/ewl/images/e-logo.png");
        data->rows[0]->text = strdup("The E logo");
 
        data->rows[1] = calloc(1, sizeof(List_Test_Row_Data));
-       data->rows[1]->image = strdup("/usr/local/share/ewl/entice.png");
+       data->rows[1]->image = strdup(PACKAGE_DATA_DIR"/ewl/images/entice.png");
        data->rows[1]->text = strdup("The Entice image");
 
        data->rows[2] = calloc(1, sizeof(List_Test_Row_Data));
-       data->rows[2]->image = strdup("/usr/local/share/entrance.png");
+       data->rows[2]->image = 
strdup(PACKAGE_DATA_DIR"/ewl/images/entrance.png");
        data->rows[2]->text = strdup("The Entrance image");
 
        data->count = 3;
@@ -167,6 +169,7 @@
        w = ewl_button_new();
        ewl_button_label_set(EWL_BUTTON(w), d->text);
        ewl_button_image_set(EWL_BUTTON(w), d->image, NULL);
+       ewl_button_image_size_set(EWL_BUTTON(w), 24, 24);
        ewl_widget_show(w);
 
        return w;



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