Enlightenment CVS committal

Author  : mekius
Project : e17
Module  : proto/empower

Dir     : e17/proto/empower/src/bin/ewl


Modified Files:
        Empower.h empower_gui_ewl.c 


Log Message:
Adjust to what seems like new fill policies in EWL.  Also remove an unused 
variable.

===================================================================
RCS file: /cvs/e/e17/proto/empower/src/bin/ewl/Empower.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Empower.h   2 Jun 2007 17:16:28 -0000       1.11
+++ Empower.h   1 Apr 2008 02:35:40 -0000       1.12
@@ -20,7 +20,6 @@
 char cmd[1024];
 Ecore_Exe *sudo;
 int auth_passed;
-int exec_empty;
 int startup;
 int failure;
 
===================================================================
RCS file: /cvs/e/e17/proto/empower/src/bin/ewl/empower_gui_ewl.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- empower_gui_ewl.c   1 Jun 2007 04:20:09 -0000       1.19
+++ empower_gui_ewl.c   1 Apr 2008 02:35:40 -0000       1.20
@@ -38,7 +38,8 @@
 
        vbox = ewl_vbox_new();
        ewl_container_child_append(EWL_CONTAINER(hbox), vbox);
-       ewl_object_fill_policy_set(EWL_OBJECT(vbox), EWL_FLAG_FILL_HFILL);
+       ewl_object_fill_policy_set(EWL_OBJECT(vbox), EWL_FLAG_FILL_VSHRINK | 
EWL_FLAG_FILL_HFILL);
+       ewl_box_homogeneous_set(EWL_OBJECT(vbox), 1);
        ewl_widget_show(vbox);
 
        if(mode == SUDOPROG)
@@ -51,11 +52,11 @@
                                                "Execute");
                ewl_callback_append(exec, EWL_CALLBACK_FOCUS_OUT, unfocus_cb,
                                                "Execute");
-               exec_empty = 1;
                ewl_text_align_set(EWL_TEXT(exec),EWL_FLAG_ALIGN_LEFT);
                ewl_text_text_set(EWL_TEXT(exec),"Execute");
                ewl_text_cursor_position_set(EWL_TEXT(exec),0);
                
ewl_text_color_apply(EWL_TEXT(exec),100,100,100,200,strlen("Execute"));
+               ewl_object_minimum_h_set(EWL_OBJECT(exec), 20);
                ewl_widget_show(exec);
        }       
 
@@ -71,6 +72,7 @@
        ewl_text_text_set(EWL_TEXT(entry),"Password");
        ewl_text_cursor_position_set(EWL_TEXT(entry),0);
        
ewl_text_color_apply(EWL_TEXT(entry),100,100,100,200,strlen("Password"));
+       ewl_object_minimum_h_set(EWL_OBJECT(entry), 20);
        
        if(!auth_passed)
                ewl_widget_show(entry);



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to