fix range select

SVN revision: 26409
This commit is contained in:
Carsten Haitzler 2006-10-08 05:55:26 +00:00
parent 8ca3b4ad4a
commit 9a8ea688c9
1 changed files with 7 additions and 3 deletions

View File

@ -3021,6 +3021,8 @@ _e_fm2_mouse_1_handler(E_Fm2_Icon *ic, int up, Evas_Modifier *modifiers)
}
}
else
{
if (!up)
{
for (l = ic->sd->icons; l; l = l->next)
{
@ -3028,6 +3030,7 @@ _e_fm2_mouse_1_handler(E_Fm2_Icon *ic, int up, Evas_Modifier *modifiers)
ic2->last_selected = 0;
}
}
}
printf("multi_sel=%i, selected=%i up=%i, dnd=%i\n",
multi_sel, (ic->selected),
up, (int)ic->drag.dnd);
@ -3042,6 +3045,7 @@ _e_fm2_mouse_1_handler(E_Fm2_Icon *ic, int up, Evas_Modifier *modifiers)
{
_e_fm2_icon_select(ic);
ic->down_sel = 1;
ic->last_selected = 1;
}
}
evas_object_smart_callback_call(ic->sd->obj, "selection_change", NULL);