don't allow ilist headers to be selected

SVN revision: 23319
This commit is contained in:
rephorm 2006-06-09 02:53:16 +00:00 committed by rephorm
parent 69b119f360
commit 5d302028b7
1 changed files with 6 additions and 0 deletions

View File

@ -417,6 +417,9 @@ _e_smart_event_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_inf
si = data;
ev = event_info;
if (si->header) return;
for (i = 0, l = si->sd->items; l; l = l->next, i++)
{
if (l->data == si)
@ -435,6 +438,9 @@ _e_smart_event_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_info)
si = data;
ev = event_info;
if (si->header) return;
if (si->sd->selector)
{
si = evas_list_nth(si->sd->items, si->sd->selected);