e17/evry: smoother scrolling, add less items outside of viewport to queue.
authorHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 9 Apr 2011 10:23:31 +0000 (10:23 +0000)
committerHannes Janetzek <hannes.janetzek@gmail.com>
Sat, 9 Apr 2011 10:23:31 +0000 (10:23 +0000)
SVN revision: 58521

src/modules/everything/evry_view.c

index 04bed34..e75e492 100644 (file)
@@ -183,17 +183,12 @@ _thumb_idler(void *data)
 
             e_thumb_icon_begin(it->thumb);
             it->do_thumb = EINA_TRUE;
-
-            if (it->image)
-              edje_object_signal_emit(it->frame, "e,action,thumb,show_delayed", "e");
          }
        else
          {
             edje_object_signal_emit(it->frame, "e,action,thumb,show", "e");
          }
 
-
-
        sd->queue = eina_list_remove_list(sd->queue, l);
 
        if (cnt++ > 10)
@@ -536,8 +531,8 @@ _e_smart_reconfigure_do(void *data)
        xx = sd->x - sd->cx + it->x + ox;
        yy = sd->y - sd->cy + it->y + oy;
 
-       if (E_INTERSECTS(xx, yy, it->w, it->h, 0, sd->y - (it->h*4),
-                        sd->x + sd->w, sd->y + sd->h + it->h*8))
+       if (E_INTERSECTS(xx, yy, it->w, it->h, 0, sd->y - it->h,
+                        sd->x + sd->w, sd->y + sd->h + it->h))
          {
             if (!it->visible)
               _item_show(sd->view, it, obj);