found the speed problem with loading dirs of .desktop files....

SVN revision: 25867
This commit is contained in:
Carsten Haitzler 2006-09-16 03:03:25 +00:00
parent 998414cd23
commit afd5b0cfc0
2 changed files with 7 additions and 1 deletions

3
TODO
View File

@ -8,6 +8,9 @@ Some of the things (in very short form) that need to be done to E17...
BUGS / FIXES
-------------------------------------------------------------------------------
* BUG: performance bug: e_app_new() is amazingly slow and heavy. see the FIXME
comment in e_fm.c in _e_fm2_icon_icon_set()... this needs to be traced,
profiled and leaned down by many factors :)
* BUG: add applications to ibar etc. is broken now (indirect references from
all applications menu don't work when trying to add - nothing happens)
* BUG: adding app using "applications" dialog to a bar dir ends up with blank

View File

@ -1658,9 +1658,12 @@ _e_fm2_icon_icon_set(E_Fm2_Icon *ic)
E_App *app;
if (ic->info.pseudo_link)
snprintf(buf, sizeof(buf), "%s/%s", ic->info.pseudo_dir, ic->info.file);
snprintf(buf, sizeof(buf), "%s/%s", ic->info.pseudo_dir, ic->info.file);
else
snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ic->info.file);
/* FIXME FIXME FIXME: e_app_new() is SLOOOOOOOOOOOOOOOOOOOOOOOOOOOOOW. it can
* be a complete hog. this destroys performance in fm2. :(:(:(
*/
app = e_app_new(buf, 0);
if (app)
{