Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/ibar


Modified Files:
        e_mod_main.c 


Log Message:
Possible with more types for a drag. Doesn't make sense for internal dnd,
since we don't have a conversion function. Prepare for xdnd.
Declare variables.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -3 -r1.81 -r1.82
--- e_mod_main.c        5 Oct 2005 17:56:35 -0000       1.81
+++ e_mod_main.c        7 Oct 2005 18:36:54 -0000       1.82
@@ -1345,14 +1345,15 @@
             E_Drag *d;
             Evas_Object *o;
             Evas_Coord x, y, w, h;
+            const char *drag_types[] = { "enlightenment/eapp" };
 
             drag = 1;
             drag_start = 0;
 
             evas_object_geometry_get(ic->icon_object,
                                      &x, &y, &w, &h);
-            d = e_drag_new(ic->ibb->con, x, y, "enlightenment/eapp",
-                           ic->app, _ibar_bar_cb_finished);
+            d = e_drag_new(ic->ibb->con, x, y, drag_types, 1,
+                           ic->app, -1, _ibar_bar_cb_finished);
             o = edje_object_add(e_drag_evas_get(d));
             edje_object_file_set(o, ic->app->path, "icon");
             e_drag_object_set(d, o);




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to