Sort the shelf list before returning it. This keeps the Shelf dialog nicely

sorted on add/del of a shelf.


SVN revision: 28311
This commit is contained in:
Christopher Michael 2007-02-12 05:49:52 +00:00
parent 78b4df7cf5
commit ecdd19d001
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ e_shelf_config_init(void)
EAPI Evas_List *
e_shelf_list(void)
{
shelves = evas_list_sort(shelves, evas_list_count(shelves),
_e_shelf_cb_id_sort);
return shelves;
}