ui: overall cleaning.
This commit is contained in:
parent
a9fedc948b
commit
e43d0109b7
|
@ -146,7 +146,7 @@ evisum_server_client_add(Evisum_Action action, int pid)
|
|||
client->srv = srv;
|
||||
|
||||
handler[0] = ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ADD,
|
||||
_evisum_server_client_connect_cb, client);
|
||||
_evisum_server_client_connect_cb, client);
|
||||
handler[1] = ecore_event_handler_add(ECORE_CON_EVENT_SERVER_DEL,
|
||||
_evisum_server_client_done_cb, client);
|
||||
handler[2] = ecore_event_handler_add(ECORE_CON_EVENT_SERVER_ERROR,
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
#include "ui/ui_process_view.h"
|
||||
#include "ui/ui_process_list.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/resource.h>
|
||||
#include <pwd.h>
|
||||
|
||||
Evisum_Config *_evisum_config;
|
||||
int EVISUM_EVENT_CONFIG_CHANGED;
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ typedef struct Ui
|
|||
Evas_Object *win;
|
||||
int width;
|
||||
int height;
|
||||
Evas_Object *box;
|
||||
Ecore_Thread *thread;
|
||||
} sensors;
|
||||
} Ui;
|
||||
|
|
|
@ -1164,7 +1164,7 @@ _genlist_scroll_start_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
|
||||
pd = data;
|
||||
|
||||
pd->skip_wait = 1;
|
||||
pd->skip_wait = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1175,7 +1175,7 @@ _genlist_scroll_end_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
|
||||
pd = data;
|
||||
|
||||
pd->skip_wait = 0;
|
||||
pd->skip_wait = 1;
|
||||
}
|
||||
|
||||
static Evas_Object *
|
||||
|
@ -1491,7 +1491,6 @@ _elm_config_changed_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED
|
|||
{
|
||||
Ui_Data *pd = data;
|
||||
|
||||
elm_genlist_clear(pd->genlist);
|
||||
_process_list_update(pd);
|
||||
|
||||
return EINA_TRUE;
|
||||
|
|
|
@ -92,7 +92,7 @@ _sensors_update(void *data, Ecore_Thread *thread)
|
|||
}
|
||||
}
|
||||
ecore_thread_feedback(thread, msg);
|
||||
for (int i = 0; i < 4; i++)
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
if (ecore_thread_check(thread)) break;
|
||||
usleep(250000);
|
||||
|
|
|
@ -60,7 +60,7 @@ _evisum_docs(void)
|
|||
const char *txt =
|
||||
"<b>Congratulations you found the documentation!</b><br><br>"
|
||||
"<br>"
|
||||
"There isn't any!.<br>";
|
||||
"There isn't any!<br>";
|
||||
|
||||
return txt;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue