Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_attach.c 


Log Message:
- cleanup

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_attach.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- ewl_attach.c        21 May 2006 03:51:41 -0000      1.29
+++ ewl_attach.c        11 Sep 2006 04:54:31 -0000      1.30
@@ -558,7 +558,6 @@
        Ewl_Attach *attach;
        Ewl_Embed *emb;
        Ewl_Event_Mouse_Move *e;
-//     int x, y;
        int offset;
        char *delay_str;
        double delay;
@@ -598,14 +597,6 @@
        else
                ewl_attach_tooltip->y = e->y + offset;
 
-#if 0 
-       emb = ewl_embed_widget_find(w);
-       ewl_window_position_get(EWL_WINDOW(emb), &x, &y);
-
-       ewl_attach_tooltip->x = x + CURRENT_X(w) + e->x + offset;
-       ewl_attach_tooltip->y = y + CURRENT_Y(w) + e->y + offset;
-#endif
-
        delay_str = ewl_theme_data_str_get(w, "/tooltip/delay");
        if (delay_str)
        {
@@ -677,9 +668,9 @@
        {
                Ewl_Container *redir;
 
-               ewl_attach_tooltip->embed = EWL_WIDGET(emb);
 #if 0
                ewl_attach_tooltip->win = ewl_window_new();
+               ewl_attach_tooltip->embed = ewl_attach_tooltip->win;
                ewl_window_title_set(EWL_WINDOW(ewl_attach_tooltip->win), 
                                                                "Tooltip");
                ewl_window_name_set(EWL_WINDOW(ewl_attach_tooltip->win), 
@@ -691,9 +682,9 @@
                ewl_window_borderless_set(EWL_WINDOW(ewl_attach_tooltip->win));
                ewl_window_raise(EWL_WINDOW(ewl_attach_tooltip->win));
 #endif
-
                /* XXX this should really be in it's own window */
                ewl_attach_tooltip->win = ewl_hbox_new();
+               ewl_attach_tooltip->embed = EWL_WIDGET(emb);
 
                /*
                 * Temporarily override any redirect settings as this must go
@@ -706,7 +697,6 @@
                ewl_container_redirect_set(EWL_CONTAINER(emb), redir);
 
                ewl_widget_layer_top_set(ewl_attach_tooltip->win, TRUE);
-
                ewl_callback_prepend(ewl_attach_tooltip->win, 
                                        EWL_CALLBACK_DESTROY,
                                        ewl_attach_cb_tooltip_win_destroy, 



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