Enlightenment CVS committal
Author : onefang
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_apps.c
Log Message:
Oops, and a DOH! or two.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -3 -r1.203 -r1.204
--- e_apps.c 29 Sep 2006 13:37:11 -0000 1.203
+++ e_apps.c 29 Sep 2006 14:46:55 -0000 1.204
@@ -142,7 +142,8 @@
{
E_App *app;
- app = e_app_empty_new(file);
+ snprintf(buf, PATH_MAX, "%s/%s", _e_apps_path_all, file);
+ app = e_app_empty_new(buf);
if ((app) && (app->path))
_e_apps_every_app = evas_hash_direct_add(_e_apps_every_app,
app->path, app);
}
@@ -167,7 +168,7 @@
a = data;
/* Link it in to all if needed. */
- if ((!a->parent) && (_e_apps_all) && strncmp(a->path, _e_apps_path_all,
strlen(_e_apps_path_all)) == 0)
+ if ((!a->parent) && (_e_apps_all) && (a != _e_apps_all) &&
(strncmp(a->path, _e_apps_path_all, strlen(_e_apps_path_all)) == 0))
{
a->parent = _e_apps_all;
_e_apps_all->subapps = evas_list_append(_e_apps_all->subapps, a);
@@ -944,6 +945,8 @@
a = l->data;
E_OBJECT_CHECK_RETURN(a, NULL);
E_OBJECT_TYPE_CHECK_RETURN(a, E_APP_TYPE, NULL);
+ if (!a->filled)
+ e_app_fields_fill(a, a->path);
for (ll = a->instances; ll; ll = ll->next)
{
E_App_Instance *ai;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs