Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_filedialog.c ewl_fileselector.c 


Log Message:
Clean up some sizing issues with the filedialog and fileselector.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_filedialog.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_filedialog.c    9 Dec 2003 15:35:07 -0000       1.12
+++ ewl_filedialog.c    9 Dec 2003 16:28:30 -0000       1.13
@@ -142,7 +142,7 @@
 
        fd->selector = ewl_fileselector_new(cb);
        ewl_object_set_fill_policy(EWL_OBJECT(fd->selector),
-                                  EWL_FLAG_FILL_SHRINK);
+                                  EWL_FLAG_FILL_FILL);
        ewl_container_append_child(EWL_CONTAINER(vbox), fd->selector);
        ewl_callback_append (EWL_WIDGET (fd->selector),
                        EWL_CALLBACK_VALUE_CHANGED, ewl_filedialog_change_labels, fd);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_fileselector.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_fileselector.c  9 Dec 2003 02:41:22 -0000       1.20
+++ ewl_fileselector.c  9 Dec 2003 16:28:30 -0000       1.21
@@ -101,13 +101,15 @@
        w = EWL_WIDGET(fs);
 
        ewl_box_init(EWL_BOX(w), EWL_ORIENTATION_HORIZONTAL);
-       ewl_object_set_fill_policy(EWL_OBJECT(w), EWL_FLAG_FILL_SHRINK);
+       ewl_object_set_fill_policy(EWL_OBJECT(w), EWL_FLAG_FILL_SHRINK |
+                                                 EWL_FLAG_FILL_FILL);
 
        /* 
         * Create the vbox that should contain the directories tree
         */
        fs->dbox = ewl_vbox_new();
-       ewl_object_set_fill_policy(EWL_OBJECT(fs->dbox), EWL_FLAG_FILL_SHRINK);
+       ewl_object_set_fill_policy(EWL_OBJECT(fs->dbox), EWL_FLAG_FILL_SHRINK |
+                                                        EWL_FLAG_FILL_FILL);
        ewl_container_append_child(EWL_CONTAINER(w), fs->dbox);
        ewl_widget_show(fs->dbox);
 
@@ -206,7 +208,7 @@
        char                 file[PATH_MAX];
        struct stat          statbuf;
        Ewl_Widget           *items[1];
-       Ewl_Widget           *row;
+       Ewl_Widget           *row = NULL;
        Ewl_Fileselector_Row *f_row;
        
        DENTER_FUNCTION(DLEVEL_STABLE);




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to