Stop the filelist from segfaulting.
This commit is contained in:
parent
0ba5ca343f
commit
c279280b2d
@ -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;
|
||||
|
||||
|
@ -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"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user