Enlightenment CVS committal

Author  : rhapsodhy
Project : e17
Module  : proto

Dir     : e17/proto/entrance_edit_gui/src/widgets


Modified Files:
        ew_dialog.c ew_notice.c 


Log Message:

Use action area instead of hboxes.

===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_dialog.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ew_dialog.c 15 Aug 2006 02:36:45 -0000      1.5
+++ ew_dialog.c 15 Aug 2006 14:29:08 -0000      1.6
@@ -35,8 +35,6 @@
        ew->box = etk_vbox_new(0, 10);   
        etk_container_border_width_set(ETK_CONTAINER(ew->owner), 5); /*its 
hardcoded and bad. i know, but just to keep things uniform*/
 
-       ew->hbox = etk_hbox_new(0,10);
-
        if(toplevel)
                etk_signal_connect("destroyed", ETK_OBJECT(ew->owner), 
ETK_CALLBACK(_ew_cb_destroy), NULL);
        return ew;
@@ -45,7 +43,6 @@
 void 
 ew_dialog_show(Entrance_Dialog ew)
 {
-       etk_box_pack_start(ETK_BOX(ew->box), ew->hbox, ETK_TRUE, ETK_TRUE, 0);
        etk_dialog_pack_in_main_area(ETK_DIALOG(ew->owner), ew->box, ETK_TRUE, 
ETK_TRUE, 
                        0, ETK_FALSE);
        etk_widget_show_all(ew->owner);
@@ -119,6 +116,6 @@
 _ew_dialog_add_bottom(Entrance_Dialog d, Entrance_Widget ew)
 {
        if(d && ew)
-               etk_box_pack_start(ETK_BOX(d->hbox), ew->owner, ETK_TRUE, 
ETK_TRUE, 0);
+               etk_dialog_pack_widget_in_action_area(ETK_DIALOG(d->owner), 
ETK_WIDGET(ew->owner), ETK_TRUE, ETK_TRUE, 10, ETK_TRUE);
 }
 
===================================================================
RCS file: /cvs/e/e17/proto/entrance_edit_gui/src/widgets/ew_notice.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ew_notice.c 14 Aug 2006 17:08:55 -0000      1.2
+++ ew_notice.c 15 Aug 2006 14:29:08 -0000      1.3
@@ -23,13 +23,6 @@
        ew_dialog_show(ew);
 }
 
-/*void 
-ew_dialog_add(Entrance_Dialog d, Entrance_Widget ew)
-{
-       if(d && ew)
-               etk_box_pack_start(ETK_BOX(d->box), ew->box, ETK_TRUE, 
ETK_TRUE, 0);
-}*/
-
 Entrance_Widget
 ew_notice_group_add(Entrance_Dialog d, const char *title, int direction)
 {
@@ -47,10 +40,9 @@
 void 
 ew_notice_button_add(Entrance_Dialog ew, const char *name, int response_id, 
void (*response_event)(void *, int, void *), void *data)
 {
-       Etk_Widget *btn = etk_dialog_button_add(ETK_DIALOG(ew->owner), name, 
response_id);
+       etk_dialog_button_add(ETK_DIALOG(ew->owner), name, response_id);
        if(response_event)
                etk_signal_connect("response", ETK_OBJECT(ew->owner), 
ETK_CALLBACK(response_event), data);
-       etk_box_pack_start(ETK_BOX(ew->hbox), btn, ETK_TRUE, ETK_TRUE, 0);
 }
 
 void 



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