This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/71/head
in repository enlightenment.

View the commit online.

commit e9c6c79e86d19d520874927d3b271469f33ef2af
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Sun Jun 9 17:20:40 2024 +0500

    tools: paledit - remove sorting overhead
---
 src/bin/tools/paledit/palcols.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/tools/paledit/palcols.c b/src/bin/tools/paledit/palcols.c
index a2463cdd2..8f4e51bbe 100644
--- a/src/bin/tools/paledit/palcols.c
+++ b/src/bin/tools/paledit/palcols.c
@@ -545,14 +545,16 @@ _cb_items_sort(void *data)
 
    palcols_fill(event_data->win_obj, str);
 
+   sort_timer = NULL;
+
    return EINA_FALSE;
 }
 
 static void 
 _cb_search_changed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
-   if (sort_timer) ecore_timer_del(sort_timer);
-   sort_timer = ecore_timer_add(0.3, _cb_items_sort, data);
+   if (sort_timer) return;
+   sort_timer = ecore_timer_add(0.5, _cb_items_sort, data);
 }
 
 Evas_Object *

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to