Stop the filelist from segfaulting.

This commit is contained in:
Jaime Thomas 2008-12-22 02:30:17 +00:00
parent 919407aa74
commit dcedfa0025
2 changed files with 3 additions and 1 deletions

View File

@ -154,6 +154,8 @@ ecdb_custom_filelist_directory_new(Ecdb_Source *parent)
dir = calloc(1, sizeof(Ewl_Filelist_Directory));
dir->rfiles = files;
dir->rdirs = dirs;
dir->files = ecore_list_new();
dir->dirs = ecore_list_new();
dir->num_dirs = nd;
dir->num_files = nf;

View File

@ -349,11 +349,11 @@ ecdb_cb_welcome_page_buttons_clicked(void *data, Evas_Object *o,
if (!strcmp(source, "ecdb/burn_data"))
{
ecdb_filelist_show();
swallow = evas_object_name_find(ecore_evas_get(em->main_win_ee),
"welcome_page");
edje_object_signal_emit(swallow, "ecdb,welcome_page,hide", "ecdb");
ecdb_burn_data_page_show();
ecdb_filelist_show();
}
else if (!strcmp(source, "ecdb/erase"))
{