Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_main.c 


Log Message:
Fix border icon drag.
e_app_* functions should have E_App arg first.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -3 -r1.161 -r1.162
--- e_mod_main.c        14 Dec 2006 19:31:48 -0000      1.161
+++ e_mod_main.c        28 Dec 2006 13:43:30 -0000      1.162
@@ -596,11 +596,11 @@
 static void
 _ibar_icon_fill(IBar_Icon *ic)
 {
-   ic->o_icon = e_app_icon_add(evas_object_evas_get(ic->ibar->o_box), ic->app);
+   ic->o_icon = e_app_icon_add(ic->app, evas_object_evas_get(ic->ibar->o_box));
    edje_object_part_swallow(ic->o_holder, "e.swallow.content", ic->o_icon);
    evas_object_pass_events_set(ic->o_icon, 1);
    evas_object_show(ic->o_icon);
-   ic->o_icon2 = e_app_icon_add(evas_object_evas_get(ic->ibar->o_box), 
ic->app);
+   ic->o_icon2 = e_app_icon_add(ic->app, 
evas_object_evas_get(ic->ibar->o_box));
    edje_object_part_swallow(ic->o_holder2, "e.swallow.content", ic->o_icon2);
    evas_object_pass_events_set(ic->o_icon2, 1);
    evas_object_show(ic->o_icon2);
@@ -990,7 +990,7 @@
             d = e_drag_new(ic->ibar->inst->gcc->gadcon->zone->container,
                            x, y, drag_types, 1,
                            ic->app, -1, _ibar_cb_drag_finished);
-             o = e_app_icon_add(e_drag_evas_get(d), ic->app);
+             o = e_app_icon_add(ic->app, e_drag_evas_get(d));
             e_drag_object_set(d, o);
 
             e_drag_resize(d, w, h);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to