Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_filelist_column.c 


Log Message:
- instead of fiddling with the scrollpane create a separate hbox and pack
  that in. store the hbox.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_column.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_filelist_column.c       26 Apr 2006 04:11:02 -0000      1.5
+++ ewl_filelist_column.c       26 Apr 2006 04:27:58 -0000      1.6
@@ -64,6 +64,7 @@
 ewl_filelist_column_init(Ewl_Filelist_Column *fl)
 {
        Ewl_Filelist *list;
+       Ewl_Widget *p;
 
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("fl", fl, FALSE);
@@ -78,10 +79,12 @@
        list->dir_change = ewl_filelist_column_dir_change;
        list->filter_change = ewl_filelist_column_dir_change;
 
-       fl->hbox = ewl_scrollpane_new();
-       ewl_box_orientation_set(EWL_BOX(EWL_SCROLLPANE(fl->hbox)->box), 
-                                               EWL_ORIENTATION_HORIZONTAL);
-       ewl_container_child_append(EWL_CONTAINER(fl), fl->hbox);
+       p = ewl_scrollpane_new();
+       ewl_container_child_append(EWL_CONTAINER(fl), p);
+       ewl_widget_show(p);
+
+       fl->hbox = ewl_hbox_new();
+       ewl_container_child_append(EWL_CONTAINER(p), fl->hbox);
        ewl_widget_show(fl->hbox);
 
        DRETURN_INT(TRUE, DLEVEL_STABLE);




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