From: <enl...@li...> - 2005-10-10 22:42:38
|
Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e Dir : e17/apps/e/src/bin Modified Files: e_fileman_smart.c Log Message: clean =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_smart.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- e_fileman_smart.c 10 Oct 2005 22:33:56 -0000 1.16 +++ e_fileman_smart.c 10 Oct 2005 22:42:42 -0000 1.17 @@ -1009,16 +1009,18 @@ if (!file) continue; evas_object_geometry_get(file->icon, &xx, &yy, &ww, &hh); - if(E_INTERSECTS(x, y, w, h, xx, yy, ww, hh)) - { - if(!file->state.selected) - { - _e_fm_selections_add(file); - } - } else { - if(file->state.selected) // todo: add control+rubberband - _e_fm_selections_del(file); - } + if (E_INTERSECTS(x, y, w, h, xx, yy, ww, hh)) + { + if (!file->state.selected) + { + _e_fm_selections_add(file); + } + } + else + { + if (file->state.selected) // todo: add control+rubberband + _e_fm_selections_del(file); + } } } |