Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto.c ephoto_browsing.c 


Log Message:
Use a show callback to trigger the tree populating.

===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- ephoto.c    21 May 2006 16:05:21 -0000      1.50
+++ ephoto.c    22 May 2006 05:08:23 -0000      1.51
@@ -475,7 +475,7 @@
                 m->dirtree = ewl_tree_new(1);
                 ewl_container_child_append(EWL_CONTAINER(m->images),
                                                                 m->dirtree);
-                ewl_object_maximum_size_set(EWL_OBJECT(m->dirtree), 200, 210);
+                ewl_object_custom_size_set(EWL_OBJECT(m->dirtree), 200, 210);
                 ewl_tree_headers_visible_set(EWL_TREE(m->dirtree), 0);
                 ewl_tree_expandable_rows_set(EWL_TREE(m->dirtree), FALSE);
                 ewl_widget_show(m->dirtree);
@@ -490,9 +490,8 @@
                                                                 m->imagetree);
                 ewl_tree_headers_visible_set(EWL_TREE(m->imagetree), 0);
                 ewl_tree_expandable_rows_set(EWL_TREE(m->imagetree), FALSE);
-               ewl_object_maximum_size_set(EWL_OBJECT(m->imagetree), 200, 240);
-               //ewl_object_fill_policy_set(EWL_OBJECT(m->imagetree), 
-               //              EWL_FLAG_FILL_VFILL | EWL_FLAG_FILL_VSHRINK);
+               ewl_object_fill_policy_set(EWL_OBJECT(m->imagetree),
+                                          EWL_FLAG_FILL_ALL);
                 ewl_widget_show(m->imagetree);
 
 
@@ -853,9 +852,9 @@
                /**********************************************************/
 
                 /************LETS POPULATE THEM TREES******************/
-                ewl_callback_append(m->directory, EWL_CALLBACK_REALIZE, 
+                ewl_callback_append(m->directory, EWL_CALLBACK_SHOW, 
                                                populatei_cb, NULL);
-               ewl_callback_append(m->vimage, EWL_CALLBACK_REALIZE,
+               ewl_callback_append(m->vimage, EWL_CALLBACK_SHOW,
                                                imagerealize_cb, NULL);
                 /******************************************************/
                if ( arglload == 1 ) {
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_browsing.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ephoto_browsing.c   19 May 2006 02:50:23 -0000      1.32
+++ ephoto_browsing.c   22 May 2006 05:08:23 -0000      1.33
@@ -20,12 +20,14 @@
        /**************************/
        /*****************************/
 
-       /*****Find out what directory we want to look in******/
+       /***** Find out what directory we want to look in******/
 
        if (w == m->directory) {
                pathi = ewl_text_text_get(EWL_TEXT(w));
        }
-       
+       else if (data == m->directory) {
+               pathi = ewl_text_text_get(EWL_TEXT(m->directory));
+       }
        else {
                pathi = ewl_widget_name_get(w);
        }




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to