rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=f7fa5a432e8a546f3a4c7d94980c56d52b20a283

commit f7fa5a432e8a546f3a4c7d94980c56d52b20a283
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Nov 30 10:11:41 2016 +0200

    tab_info: fix calculate resource count
    
    Resource manager already prepare resource lists (images, sounds etc) 
without internal res.
    
    Change-Id: I8714b1534e411f17d76758faa012c19c5eadc045
---
 src/bin/ui/tab_home_info.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ui/tab_home_info.c b/src/bin/ui/tab_home_info.c
index dd86000..501053a 100644
--- a/src/bin/ui/tab_home_info.c
+++ b/src/bin/ui/tab_home_info.c
@@ -72,8 +72,8 @@ _tab_project_update()
      {
         pm_project_meta_data_get(ap.project, NULL, &authors, &version, 
&license, &comment);
         _info_set(false, ap.project->name, ap.project->pro_path,
-                  eina_list_count(ap.project->RM.images) - 1, /* dummy image 
should not be counted */
-                  eina_list_count(ap.project->RM.sounds) + 
eina_list_count(ap.project->RM.tones) - 1,/* dummy sample should not be counted 
*/
+                  eina_list_count(ap.project->RM.images),
+                  eina_list_count(ap.project->RM.sounds) + 
eina_list_count(ap.project->RM.tones),
                   eina_list_count(ap.project->RM.fonts),
                   version, authors, license, comment);
      }

-- 


Reply via email to