Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm.c 


Log Message:


fix range select

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -3 -r1.83 -r1.84
--- e_fm.c      8 Oct 2006 05:38:39 -0000       1.83
+++ e_fm.c      8 Oct 2006 05:55:26 -0000       1.84
@@ -3022,10 +3022,13 @@
      }
    else
      {
-       for (l = ic->sd->icons; l; l = l->next)
+       if (!up)
          {
-            ic2 = l->data;
-            ic2->last_selected = 0;
+            for (l = ic->sd->icons; l; l = l->next)
+              {
+                 ic2 = l->data;
+                 ic2->last_selected = 0;
+              }
          }
      }
    printf("multi_sel=%i, selected=%i up=%i, dnd=%i\n", 
@@ -3042,6 +3045,7 @@
          {
             _e_fm2_icon_select(ic);
             ic->down_sel = 1;
+            ic->last_selected = 1;
          }
      }
    evas_object_smart_callback_call(ic->sd->obj, "selection_change", NULL);



-------------------------------------------------------------------------
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