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:
More framework
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_mod_main.c 1 May 2005 20:29:32 -0000 1.33
+++ e_mod_main.c 1 May 2005 20:37:48 -0000 1.34
@@ -1372,6 +1372,7 @@
{
E_Drop_Event *ev;
IBar_Bar *ibb;
+ IBar_Icon *ic;
Evas_Coord x, y, w, h;
double iw;
int pos;
@@ -1395,7 +1396,15 @@
iw = h / (double) evas_list_count(ibb->icons);
pos = round(y / iw);
}
-
+ ic = evas_list_nth(ibb->icons, pos);
+ if (ic)
+ {
+ /* Add new eapp before this icon */
+ }
+ else
+ {
+ /* Add at the end */
+ }
}
static void
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs