Enlightenment CVS committal
Author : onefang
Project : e17
Module : apps/e_utils
Dir : e17/apps/e_utils/src/bin/e17genmenu/src/bin
Modified Files:
parse.c
Log Message:
After talking it through with devilhorns, remove the commented out eap cache
regens.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/e17genmenu/src/bin/parse.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- parse.c 19 Feb 2006 13:16:46 -0000 1.17
+++ parse.c 20 Feb 2006 05:21:55 -0000 1.18
@@ -6,7 +6,6 @@
#include "order.h"
#include "parse.h"
-extern double cache_time;
extern int reject_count;
static void _parse_desktop_del(Desktop *desktop);
@@ -211,9 +210,8 @@
process_file(char *file, char *menu_path, G_Eap *eap)
{
char *home, *window_class, *exec, *category, *icon;
- char path[MAX_PATH], order_path[MAX_PATH], buffer[MAX_PATH];
+ char path[MAX_PATH], order_path[MAX_PATH];
int overwrite;
- double begin;
if (!eap)
return;
@@ -289,26 +287,9 @@
if (window_class != NULL)
write_eap(path, "app/window/class", window_class);
-/* Disable the constant cache regens for now, they take up the bulk of the
time.
- begin = ecore_time_get();
- snprintf(buffer, sizeof(buffer),
- "enlightenment_eapp_cache_gen %s/.e/e/applications/all -r >
/dev/null 2>&1",
- getenv("HOME"));
- system(buffer);
- cache_time += ecore_time_get() - begin;
-*/
-
category = NULL;
if (menu_path != NULL)
{
-/* Disable the constant cache regens for now, they take up the bulk of the
time.
- begin = ecore_time_get();
- snprintf(buffer, sizeof(buffer),
- "enlightenment_eapp_cache_gen
%s/.e/e/applications/favorite/%s -r /dev/null 2>&1",
- getenv("HOME"), menu_path);
- system(buffer);
- cache_time += ecore_time_get() - begin;
-*/
snprintf(order_path, sizeof(order_path), "%s" EFAVDIR "/%s", home,
menu_path);
modify_order(order_path, eap->eap_name);
@@ -318,14 +299,6 @@
category = find_category(eap->categories);
if (category != NULL)
{
-/* Disable the constant cache regens for now, they take up the bulk of the
time.
- begin = ecore_time_get();
- snprintf(buffer, sizeof(buffer),
- "enlightenment_eapp_cache_gen
%s/.e/e/applications/favorite/%s -r /dev/null 2>&1",
- getenv("HOME"), category);
- system(buffer);
- cache_time += ecore_time_get() - begin;
-*/
snprintf(order_path, sizeof(order_path), "%s" EFAVDIR "/%s", home,
category);
modify_order(order_path, eap->eap_name);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs