netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=c59c42a21dfe007b1da51cd0d6aab89719eb1f06

commit c59c42a21dfe007b1da51cd0d6aab89719eb1f06
Author: Alastair Poole <nets...@gmail.com>
Date:   Thu Dec 31 08:39:53 2020 +0000

    disk: first feeback too early...
    
    Strectchy first progresss bars...unstretched
---
 src/bin/ui/ui_disk.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/ui/ui_disk.c b/src/bin/ui/ui_disk.c
index ad53bfb..366d0ad 100644
--- a/src/bin/ui/ui_disk.c
+++ b/src/bin/ui/ui_disk.c
@@ -240,7 +240,6 @@ _disks_poll(void *data, Ecore_Thread *thread)
 
    while (!ecore_thread_check(thread))
      {
-        ecore_thread_feedback(thread, file_system_info_all_get());
         for (int i = 0; i < 8; i++)
           {
              if (pd->skip_wait)
@@ -252,6 +251,7 @@ _disks_poll(void *data, Ecore_Thread *thread)
                return;
              usleep(125000);
           }
+        ecore_thread_feedback(thread, file_system_info_all_get());
      }
 }
 
@@ -567,7 +567,6 @@ ui_win_disk_add(Ui *ui, Evas_Object *parent)
 
    Ui_Data *pd = calloc(1, sizeof(Ui_Data));
    pd->ui = ui;
-   pd->skip_wait = 1;
 
    pd->panes = panes = elm_panes_add(win);
    evas_object_size_hint_weight_set(panes, EXPAND, EXPAND);

-- 


Reply via email to