summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2006-11-12 03:22:36 +0000
committerCarsten Haitzler <raster@rasterman.com>2006-11-12 03:22:36 +0000
commit81ab23b2ba60184301d5096e5ab20337f4d5515e (patch)
tree42e51048e8991eee21189b5cd7e44e268c9695e2
parent7f38a7be338679611bc825da206f325581b5f716 (diff)
remove debugging printfs from fm
SVN revision: 27065
-rw-r--r--src/bin/e_fm.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 3e6435e..d937bcc 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -967,8 +967,8 @@ _e_fm2_file_add(Evas_Object *obj, char *file, int unique, char *file_rel, int af
967 ic2 = l->data; 967 ic2 = l->data;
968 if (!strcmp(ic2->info.file, file_rel)) 968 if (!strcmp(ic2->info.file, file_rel))
969 { 969 {
970 printf("ADD %s rel: %s after=%i\n", 970// printf("ADD %s rel: %s after=%i\n",
971 ic->info.file, ic2->info.file, after); 971// ic->info.file, ic2->info.file, after);
972 if (after) 972 if (after)
973 sd->icons = evas_list_append_relative(sd->icons, ic, ic2); 973 sd->icons = evas_list_append_relative(sd->icons, ic, ic2);
974 else 974 else
@@ -3269,9 +3269,6 @@ _e_fm2_mouse_1_handler(E_Fm2_Icon *ic, int up, Evas_Modifier *modifiers)
3269 } 3269 }
3270 } 3270 }
3271 } 3271 }
3272 printf("multi_sel=%i, selected=%i up=%i, dnd=%i\n",
3273 multi_sel, (ic->selected),
3274 up, (int)ic->drag.dnd);
3275 if ((multi_sel) && (ic->selected)) 3272 if ((multi_sel) && (ic->selected))
3276 { 3273 {
3277 if ((up) && (!ic->drag.dnd) && (!ic->down_sel)) 3274 if ((up) && (!ic->drag.dnd) && (!ic->down_sel))
@@ -3520,7 +3517,6 @@ _e_fm2_cb_icon_thumb_dnd_gen(void *data, Evas_Object *obj, void *event_info)
3520 int have_alpha; 3517 int have_alpha;
3521 3518
3522 o = data; 3519 o = data;
3523 printf("dnd gen\n");
3524 e_icon_size_get(obj, &w, &h); 3520 e_icon_size_get(obj, &w, &h);
3525 have_alpha = e_icon_alpha_get(obj); 3521 have_alpha = e_icon_alpha_get(obj);
3526// if (ic->sd->config->view.mode == E_FM2_VIEW_MODE_LIST) 3522// if (ic->sd->config->view.mode == E_FM2_VIEW_MODE_LIST)
@@ -3541,7 +3537,6 @@ _e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, void *event_info)
3541 E_Fm2_Icon *ic; 3537 E_Fm2_Icon *ic;
3542 3538
3543 ic = data; 3539 ic = data;
3544 printf("GEN!\n");
3545 if (ic->realized) 3540 if (ic->realized)
3546 { 3541 {
3547 Evas_Coord w = 0, h = 0; 3542 Evas_Coord w = 0, h = 0;
@@ -5090,7 +5085,6 @@ _e_fm2_live_process_begin(Evas_Object *obj)
5090 if (!sd->live.actions) return; 5085 if (!sd->live.actions) return;
5091 if ((sd->live.idler) || (sd->live.timer) || 5086 if ((sd->live.idler) || (sd->live.timer) ||
5092 (sd->scan_idler) || (sd->scan_timer)) return; 5087 (sd->scan_idler) || (sd->scan_timer)) return;
5093 printf("live idler and timer add!\n");
5094 sd->live.idler = ecore_idler_add(_e_fm2_cb_live_idler, obj); 5088 sd->live.idler = ecore_idler_add(_e_fm2_cb_live_idler, obj);
5095 sd->live.timer = ecore_timer_add(0.2, _e_fm2_cb_live_timer, obj); 5089 sd->live.timer = ecore_timer_add(0.2, _e_fm2_cb_live_timer, obj);
5096} 5090}
@@ -5134,7 +5128,6 @@ _e_fm2_live_process(Evas_Object *obj)
5134 if (!sd->live.actions) return; 5128 if (!sd->live.actions) return;
5135 a = sd->live.actions->data; 5129 a = sd->live.actions->data;
5136 sd->live.actions = evas_list_remove_list(sd->live.actions, sd->live.actions); 5130 sd->live.actions = evas_list_remove_list(sd->live.actions, sd->live.actions);
5137 printf("live: %i\n", a->type);
5138 switch (a->type) 5131 switch (a->type)
5139 { 5132 {
5140 case FILE_ADD: 5133 case FILE_ADD:
@@ -5193,7 +5186,6 @@ _e_fm2_cb_live_idler(void *data)
5193 if (sd->live.actions) return 1; 5186 if (sd->live.actions) return 1;
5194 _e_fm2_live_process_end(data); 5187 _e_fm2_live_process_end(data);
5195 _e_fm2_cb_live_timer(data); 5188 _e_fm2_cb_live_timer(data);
5196 printf("write changes %i | %i\n", sd->order_file, sd->config->view.always_order);
5197 if ((sd->order_file) || (sd->config->view.always_order)) 5189 if ((sd->order_file) || (sd->config->view.always_order))
5198 _e_fm2_order_file_rewrite(data); 5190 _e_fm2_order_file_rewrite(data);
5199 sd->live.idler = NULL; 5191 sd->live.idler = NULL;
@@ -5210,16 +5202,13 @@ _e_fm2_cb_live_timer(void *data)
5210 if (sd->queue) _e_fm2_queue_process(data); 5202 if (sd->queue) _e_fm2_queue_process(data);
5211 else if (sd->iconlist_changed) 5203 else if (sd->iconlist_changed)
5212 { 5204 {
5213 printf("queue update\n");
5214 if (sd->resize_job) ecore_job_del(sd->resize_job); 5205 if (sd->resize_job) ecore_job_del(sd->resize_job);
5215 sd->resize_job = ecore_job_add(_e_fm2_cb_resize_job, sd->obj); 5206 sd->resize_job = ecore_job_add(_e_fm2_cb_resize_job, sd->obj);
5216 } 5207 }
5217 else 5208 else
5218 { 5209 {
5219 printf("else...\n");
5220 if (sd->live.deletions) 5210 if (sd->live.deletions)
5221 { 5211 {
5222 printf("queu update\n");
5223 sd->iconlist_changed = 1; 5212 sd->iconlist_changed = 1;
5224 if (sd->resize_job) ecore_job_del(sd->resize_job); 5213 if (sd->resize_job) ecore_job_del(sd->resize_job);
5225 sd->resize_job = ecore_job_add(_e_fm2_cb_resize_job, sd->obj); 5214 sd->resize_job = ecore_job_add(_e_fm2_cb_resize_job, sd->obj);