parent
726a01f5c4
commit
9cc54e74c7
|
@ -207,7 +207,7 @@ e_exehist_sorted_list_get(E_Exehist_Sort sort_type, int max)
|
|||
|
||||
if (!max) max = 20;
|
||||
_e_exehist_load();
|
||||
switch(sort_type)
|
||||
switch (sort_type)
|
||||
{
|
||||
case E_EXEHIST_SORT_BY_EXE:
|
||||
case E_EXEHIST_SORT_BY_POPULARITY:
|
||||
|
@ -215,6 +215,7 @@ e_exehist_sorted_list_get(E_Exehist_Sort sort_type, int max)
|
|||
l = eina_list_sort(l, 0, _e_exehist_sort_exe_cb);
|
||||
iter = eina_list_iterator_new(l);
|
||||
break;
|
||||
|
||||
default:
|
||||
iter = eina_list_iterator_reversed_new(_e_exehist->history);
|
||||
break;
|
||||
|
@ -535,3 +536,4 @@ _e_exehist_sort_pop_cb(const void *d1, const void *d2)
|
|||
|
||||
return ei2->count - ei1->count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue