Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_main.c Log Message: Load efreet. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_main.c,v retrieving revision 1.203 retrieving revision 1.204 diff -u -3 -r1.203 -r1.204 --- e_main.c 20 Mar 2007 01:08:38 -0000 1.203 +++ e_main.c 24 Mar 2007 09:26:23 -0000 1.204 @@ -70,6 +70,7 @@ char *s; struct sigaction action; double t, tstart; + Ecore_List *list; #ifdef TS_DO t0 = t1 = t2 = ecore_time_get(); @@ -418,6 +419,30 @@ _e_main_shutdown(-1); } _e_main_shutdown_push(ecore_ipc_shutdown); + + TS("efreet"); + /* init FDO desktop */ + if (!efreet_init()) + { + e_error_message_show(_("Enlightenment cannot initialize the FDO desktop system.\n" + "Perhaps you are out of memory?")); + _e_main_shutdown(-1); + } + _e_main_shutdown_push(efreet_shutdown); + TS("efreet done"); + + TS("efreet paths"); + /* TODO: The list manipulation should be done in efreet */ + list = efreet_data_dirs_get(); + if (list) + { + snprintf(buf, sizeof(buf), "%s/data", e_prefix_data_get()); + ecore_list_prepend(list, (void *)ecore_string_instance(buf)); + snprintf(buf, sizeof(buf), "%s/.e/e", e_user_homedir_get()); + ecore_list_prepend(list, (void *)ecore_string_instance(buf)); + } + efreet_icon_extension_add(".edj"); + TS("efreet paths done"); TS("ecore_desktop"); /* init FDO desktop */ ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs