forked from enlightenment/enlightenment
parent
b5dbf182fa
commit
3f8a019c39
|
@ -1375,7 +1375,7 @@ _evry_clear(Evry_State *s)
|
|||
_evry_update(s, 1);
|
||||
return 1;
|
||||
}
|
||||
else if (s->input[0] != 0)
|
||||
else if (s->input && s->input[0] != 0)
|
||||
{
|
||||
s->input[0] = 0;
|
||||
_evry_update(s, 1);
|
||||
|
|
|
@ -178,7 +178,7 @@ _fetch(Evry_Plugin *plugin, const char *input)
|
|||
}
|
||||
}
|
||||
|
||||
if (lp && (eina_list_count(lp) == 2) || (!EVRY_PLUGIN(p)->items))
|
||||
if (lp && ((eina_list_count(lp) == 2) || (!EVRY_PLUGIN(p)->items)))
|
||||
{
|
||||
pp = lp->data;
|
||||
EINA_LIST_FOREACH(pp->items, l, it)
|
||||
|
|
|
@ -352,7 +352,6 @@ _fetch(Evry_Plugin *plugin, const char *input)
|
|||
}
|
||||
|
||||
_folder_item_add(p, "/");
|
||||
file = E_NEW(Evry_Item_File, 1);
|
||||
|
||||
p->command = EINA_TRUE;
|
||||
return 1;
|
||||
|
|
|
@ -195,7 +195,6 @@ _e_smart_reconfigure_do(void *data)
|
|||
{
|
||||
x = 0;
|
||||
y += hh;
|
||||
xx = sd->x - sd->cx + x;
|
||||
}
|
||||
|
||||
it->x = x;
|
||||
|
@ -577,14 +576,15 @@ _pan_item_select(Evas_Object *obj, Item *it)
|
|||
{
|
||||
sd->cur_item->selected = EINA_FALSE;
|
||||
edje_object_signal_emit(sd->cur_item->frame, "e,state,unselected", "e");
|
||||
sd->cur_item = it;
|
||||
sd->cur_item->selected = EINA_TRUE;
|
||||
}
|
||||
|
||||
if (it)
|
||||
{
|
||||
sd->update = EINA_FALSE;
|
||||
|
||||
sd->cur_item = it;
|
||||
sd->cur_item->selected = EINA_TRUE;
|
||||
|
||||
if (sd->view->list_mode)
|
||||
align = it->y - (double)it->y / (double)sd->ch * (sd->h - it->h);
|
||||
else if ((it->y + it->h) - sd->cy > sd->h)
|
||||
|
|
Loading…
Reference in New Issue