Since this commit, genlist in Enna are broken. All elm_genlist are moved out
of the screen. I try to figure out, but without success. I need to click on
the lists and move them. Only after doing that they are going on the right
position, without animation. Do you have ideas about this problem ?


2010/1/16 Enlightenment SVN <no-re...@enlightenment.org>

> Log:
>  fix build break!
>
>
> Author:       raster
> Date:         2010-01-16 04:35:31 -0800 (Sat, 16 Jan 2010)
> New Revision: 45214
>
> Modified:
>  trunk/TMP/st/elementary/src/bin/test_panel.c
> trunk/TMP/st/elementary/src/lib/elc_fileselector.c
> trunk/TMP/st/elementary/src/lib/elm_genlist.c
>
> Modified: trunk/TMP/st/elementary/src/bin/test_panel.c
> ===================================================================
> --- trunk/TMP/st/elementary/src/bin/test_panel.c        2010-01-16 12:20:56
> UTC (rev 45213)
> +++ trunk/TMP/st/elementary/src/bin/test_panel.c        2010-01-16 12:35:31
> UTC (rev 45214)
> @@ -117,7 +117,7 @@
>      }
>    closedir(d);
>
> -   dirs = eina_list_sort(dirs, ECORE_SORT_MIN, ECORE_COMPARE_CB(strcoll));
> +   dirs = eina_list_sort(dirs, EINA_SORT_MIN, EINA_COMPARE_CB(strcoll));
>
>    EINA_LIST_FOREACH(dirs, l, real)
>      {
>
> Modified: trunk/TMP/st/elementary/src/lib/elc_fileselector.c
> ===================================================================
> --- trunk/TMP/st/elementary/src/lib/elc_fileselector.c  2010-01-16 12:20:56
> UTC (rev 45213)
> +++ trunk/TMP/st/elementary/src/lib/elc_fileselector.c  2010-01-16 12:35:31
> UTC (rev 45214)
> @@ -298,8 +298,8 @@
>      }
>    closedir(dir);
>
> -   files = eina_list_sort(files, ECORE_SORT_MIN,
> ECORE_COMPARE_CB(strcoll));
> -   dirs = eina_list_sort(dirs, ECORE_SORT_MIN, ECORE_COMPARE_CB(strcoll));
> +   files = eina_list_sort(files, EINA_SORT_MIN, EINA_COMPARE_CB(strcoll));
> +   dirs = eina_list_sort(dirs, EINA_SORT_MIN, EINA_COMPARE_CB(strcoll));
>
>    EINA_LIST_FOREACH(dirs, l, real)
>      {
>
> Modified: trunk/TMP/st/elementary/src/lib/elm_genlist.c
> ===================================================================
> --- trunk/TMP/st/elementary/src/lib/elm_genlist.c       2010-01-16 12:20:56
> UTC (rev 45213)
> +++ trunk/TMP/st/elementary/src/lib/elm_genlist.c       2010-01-16 12:35:31
> UTC (rev 45214)
> @@ -905,19 +905,21 @@
>  {
>    const Eina_List *l;
>    Elm_Genlist_Item *it;
> -   Evas_Coord y = 0, ox, oy, ow, oh;
> +   Evas_Coord y = 0, ox, oy, ow, oh, cvx, cvy, cvw, cvh;
>    int vis;
>
>    evas_object_geometry_get(itb->wd->pan_smart, &ox, &oy, &ow, &oh);
> +   evas_output_viewport_get(evas_object_evas_get(itb->wd->obj), &cvx,
> &cvy, &cvw, &cvh);
>    EINA_LIST_FOREACH(itb->items, l, it)
>      {
>        if (it->delete_me) continue;
>        it->x = 0;
>        it->y = y;
>        it->w = itb->w;
> -       vis = (ELM_RECTS_INTERSECT(itb->x + it->x - itb->wd->pan_x,
> -                                  itb->y + it->y - itb->wd->pan_y,
> -                                  it->w, it->h, 0, 0, ow, oh));
> +       vis = (ELM_RECTS_INTERSECT(itb->x - it->wd->pan_x + ox,
> +                                   itb->y - it->wd->pan_y + oy,
> +                                   itb->w, itb->h,
> +                                   cvx, cvy, cvw, cvh));
>        if ((itb->realized) && (!it->realized))
>          {
>             if (vis)
> @@ -1192,17 +1194,18 @@
>  {
>    Pan *sd = evas_object_smart_data_get(obj);
>    Item_Block *itb;
> -   Evas_Coord ow, oh;
> +   Evas_Coord ox, oy, ow, oh, cvx, cvy, cvw, cvh;
>    int in = 0;
>
> -   evas_object_geometry_get(obj, NULL, NULL, &ow, &oh);
> +   evas_object_geometry_get(obj, &ox, &oy, &ow, &oh);
> +   evas_output_viewport_get(evas_object_evas_get(obj), &cvx, &cvy, &cvw,
> &cvh);
>    EINA_INLIST_FOREACH(sd->wd->blocks, itb)
>      {
>        itb->w = sd->wd->minw;
> -       if (ELM_RECTS_INTERSECT(itb->x - sd->wd->pan_x,
> -                               itb->y - sd->wd->pan_y,
> +       if (ELM_RECTS_INTERSECT(itb->x - sd->wd->pan_x + ox,
> +                               itb->y - sd->wd->pan_y + oy,
>                                itb->w, itb->h,
> -                               0, 0, ow, oh))
> +                               cvx, cvy, cvw, cvh))
>          {
>             if ((!itb->realized) || (itb->changed))
>                _item_block_realize(itb, in, 0);
>
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>



-- 
Nicolas Aguirre
Mail: aguirre.nico...@gmail.com
Web: http://www.digital-corner.org
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to