Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_filedialog.c 


Log Message:
- remove fluff

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filedialog.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewl_filedialog.c    12 Apr 2006 01:26:59 -0000      1.18
+++ ewl_filedialog.c    12 Apr 2006 03:05:18 -0000      1.19
@@ -475,14 +475,8 @@
 
        if (event->button == 3)
        {
-               int x, y;
-
-               x = ewl_object_current_x_get(EWL_OBJECT(fd));
-               y = ewl_object_current_y_get(EWL_OBJECT(fd));
-
                ewl_floater_position_set(EWL_FLOATER(fd->menu_float),
-                                               event->x - x, 
-                                               event->y - y);
+                                               event->x, event->y);
                ewl_widget_show(fd->menu_float);
 
                ewl_callback_call(EWL_WIDGET(fd->menu),
@@ -505,7 +499,6 @@
 
        fd = data;
        ewl_filedialog_list_view_set(fd, ewl_filelist_icon_view_get());
-       ewl_widget_hide(fd->menu_float);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
@@ -521,7 +514,6 @@
 
        fd = data;
        ewl_filedialog_list_view_set(fd, ewl_filelist_list_view_get());
-       ewl_widget_hide(fd->menu_float);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to