elementary: Use eina_file_stat_ls() when listing profiles

The eina_file_stat_ls() function should be used instead of
eina_file_direct_ls() in _elm_config_profiles_list() - since it checks
for file types.

Patch by "Paulo C. A. Cavalcanti Jr" <paulo.cavalcanti@intel.com>


SVN revision: 83979
This commit is contained in:
Cedric BAIL 2013-02-16 10:25:42 +00:00
parent f9734b72e0
commit f6207619b3
4 changed files with 7 additions and 1 deletions

View File

@ -76,3 +76,4 @@ JaeHyun Jo <jae_hyun_cho@naver.com>
Bora Hwang <bora1.hwang@samsung.com>
Jiyoung Choi <jychoi7.choi@samsung.com>
Arvind R <arvino55@gmail.com>
Paulo C. A. Cavalcanti Jr <paulo.cavalcanti@intel.com>

View File

@ -1021,3 +1021,7 @@
2013-02-15 ChunEon Park (Hermet)
* support naviframe, button, label orientation mode.
2013-02-16 Paulo C. A. Cavalcanti Jr
* Fix elm_config to properly check file type.

View File

@ -148,6 +148,7 @@ Fixes:
* Fix a elm_transit crash issue when user delete all target objects in the effect end callback.
* Fix elc_player pause state to be in sync
* Fix time string display to handle hours right
* Fix elm_config to properly check file type.
Removals:

View File

@ -792,7 +792,7 @@ sys:
strlen(_elm_data_dir), "config",
sizeof("config") - 1);
file_it = eina_file_direct_ls(buf);
file_it = eina_file_stat_ls(buf);
if (!file_it)
goto list_free;