From 315ff0ec3428f07b97aa1aa07886120ba6461e5c Mon Sep 17 00:00:00 2001 From: Miculcy Brian Date: Thu, 28 Aug 2008 00:16:15 +0000 Subject: [PATCH] sort exe matches with most recently selected matches at the start - patch by sECuRE - thanks SVN revision: 35701 --- src/bin/e_exehist.c | 2 +- src/modules/exebuf/e_exebuf.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/bin/e_exehist.c b/src/bin/e_exehist.c index 2f04ec90e..5d93f0a5e 100644 --- a/src/bin/e_exehist.c +++ b/src/bin/e_exehist.c @@ -137,8 +137,8 @@ e_exehist_newest_run_get(const char *exe) if ((ei->exe) && (!strcmp(exe, ei->exe))) { _e_exehist_unload_queue(); - } return ei->exetime; + } } _e_exehist_unload_queue(); return 0.0; diff --git a/src/modules/exebuf/e_exebuf.c b/src/modules/exebuf/e_exebuf.c index a68590f2e..0893b9603 100644 --- a/src/modules/exebuf/e_exebuf.c +++ b/src/modules/exebuf/e_exebuf.c @@ -1012,9 +1012,6 @@ _e_exebuf_matches_update(void) if (added) evas_hash_free(added); added = NULL; - /* FIXME: sort eap matches with most recently selected matches at the - * start and then from shortest to longest string - */ eap_matches = evas_list_sort(eap_matches, evas_list_count(eap_matches), _e_exebuf_cb_sort_eap); max = e_config->exebuf_max_eap_list; @@ -1070,9 +1067,6 @@ _e_exebuf_matches_update(void) } e_box_thaw(eap_list_object); - /* FIXME: sort exe matches with most recently selected matches at the - * start and then from shortest to longest string - */ exe_matches = evas_list_sort(exe_matches, evas_list_count(exe_matches), _e_exebuf_cb_sort_exe); max = e_config->exebuf_max_exe_list;