elementary: Use eina_file_stat_ls() when listing profiles
authorCedric BAIL <cedric.bail@free.fr>
Sat, 16 Feb 2013 10:25:42 +0000 (10:25 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Sat, 16 Feb 2013 10:25:42 +0000 (10:25 +0000)
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

AUTHORS
ChangeLog
NEWS
src/lib/elm_config.c

diff --git a/AUTHORS b/AUTHORS
index 94f5e00..6da6dc6 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -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>
index 3e65d0e..26d91b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 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.
diff --git a/NEWS b/NEWS
index 1258955..8ab7ce8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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:
 
index ff346f4..48f1c53 100644 (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;