summaryrefslogtreecommitdiff
path: root/src/bin/efreet/efreetd_cache.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-20 13:53:54 +0200
committerSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-20 13:53:54 +0200
commit58fc3a8f32d6fe71910ee0479afc3c8478c12540 (patch)
tree4b3c1578d871f0ce4bfcfe08d0c254c5b8f05af5 /src/bin/efreet/efreetd_cache.c
parent336f6ec32814a119a4b7f7ea8063c1d56da5e387 (diff)
efreet: Low priority for cache rebuild
Diffstat (limited to 'src/bin/efreet/efreetd_cache.c')
-rw-r--r--src/bin/efreet/efreetd_cache.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index 4d7fd9d2d6..c286b13db0 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -42,7 +42,6 @@ static Eina_Bool
42icon_cache_update_cache_cb(void *data EINA_UNUSED) 42icon_cache_update_cache_cb(void *data EINA_UNUSED)
43{ 43{
44 char file[PATH_MAX]; 44 char file[PATH_MAX];
45 int prio;
46 45
47 icon_cache_timer = NULL; 46 icon_cache_timer = NULL;
48 47
@@ -55,9 +54,6 @@ icon_cache_update_cache_cb(void *data EINA_UNUSED)
55 if ((!icon_flush) && (!icon_exts)) return ECORE_CALLBACK_CANCEL; 54 if ((!icon_flush) && (!icon_exts)) return ECORE_CALLBACK_CANCEL;
56 55
57 /* TODO: Queue if already running */ 56 /* TODO: Queue if already running */
58 prio = ecore_exe_run_priority_get();
59 ecore_exe_run_priority_set(19);
60
61 snprintf(file, sizeof(file), 57 snprintf(file, sizeof(file),
62 "%s/efreet/" MODULE_ARCH "/efreet_icon_cache_create", 58 "%s/efreet/" MODULE_ARCH "/efreet_icon_cache_create",
63 eina_prefix_lib_get(pfx)); 59 eina_prefix_lib_get(pfx));
@@ -90,7 +86,6 @@ icon_cache_update_cache_cb(void *data EINA_UNUSED)
90 icon_flush = EINA_FALSE; 86 icon_flush = EINA_FALSE;
91 icon_cache_exe = 87 icon_cache_exe =
92 ecore_exe_pipe_run(file, ECORE_EXE_PIPE_READ|ECORE_EXE_PIPE_READ_LINE_BUFFERED, NULL); 88 ecore_exe_pipe_run(file, ECORE_EXE_PIPE_READ|ECORE_EXE_PIPE_READ_LINE_BUFFERED, NULL);
93 ecore_exe_run_priority_set(prio);
94 89
95 return ECORE_CALLBACK_CANCEL; 90 return ECORE_CALLBACK_CANCEL;
96} 91}
@@ -109,7 +104,6 @@ static Eina_Bool
109desktop_cache_update_cache_cb(void *data EINA_UNUSED) 104desktop_cache_update_cache_cb(void *data EINA_UNUSED)
110{ 105{
111 char file[PATH_MAX]; 106 char file[PATH_MAX];
112 int prio;
113 107
114 desktop_cache_timer = NULL; 108 desktop_cache_timer = NULL;
115 109
@@ -119,8 +113,6 @@ desktop_cache_update_cache_cb(void *data EINA_UNUSED)
119 return ECORE_CALLBACK_CANCEL; 113 return ECORE_CALLBACK_CANCEL;
120 } 114 }
121 desktop_queue = EINA_FALSE; 115 desktop_queue = EINA_FALSE;
122 prio = ecore_exe_run_priority_get();
123 ecore_exe_run_priority_set(19);
124 116
125 snprintf(file, sizeof(file), 117 snprintf(file, sizeof(file),
126 "%s/efreet/" MODULE_ARCH "/efreet_desktop_cache_create", 118 "%s/efreet/" MODULE_ARCH "/efreet_desktop_cache_create",
@@ -140,7 +132,6 @@ desktop_cache_update_cache_cb(void *data EINA_UNUSED)
140 INF("Run desktop cache creation: %s", file); 132 INF("Run desktop cache creation: %s", file);
141 desktop_cache_exe = 133 desktop_cache_exe =
142 ecore_exe_pipe_run(file, ECORE_EXE_PIPE_READ|ECORE_EXE_PIPE_READ_LINE_BUFFERED, NULL); 134 ecore_exe_pipe_run(file, ECORE_EXE_PIPE_READ|ECORE_EXE_PIPE_READ_LINE_BUFFERED, NULL);
143 ecore_exe_run_priority_set(prio);
144 135
145 return ECORE_CALLBACK_CANCEL; 136 return ECORE_CALLBACK_CANCEL;
146} 137}