summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/main.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index b0e02b9..c68fcd0 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -15,9 +15,7 @@ _wait_mode(void)
15{ 15{
16 efl_gfx_entity_visible_set(waiting, EINA_TRUE); 16 efl_gfx_entity_visible_set(waiting, EINA_TRUE);
17 efl_gfx_entity_visible_set(over_container, EINA_FALSE); 17 efl_gfx_entity_visible_set(over_container, EINA_FALSE);
18 efl_gfx_entity_visible_set(container, EINA_FALSE);
19 efl_content_set(win, waiting); 18 efl_content_set(win, waiting);
20 efl_ui_progressbar_pulse_set(waiting, EINA_TRUE);
21} 19}
22 20
23static void 21static void
@@ -25,9 +23,7 @@ _edit_mode(void)
25{ 23{
26 efl_gfx_entity_visible_set(waiting, EINA_FALSE); 24 efl_gfx_entity_visible_set(waiting, EINA_FALSE);
27 efl_gfx_entity_visible_set(over_container, EINA_TRUE); 25 efl_gfx_entity_visible_set(over_container, EINA_TRUE);
28 efl_gfx_entity_visible_set(container, EINA_TRUE);
29 efl_content_set(win, over_container); 26 efl_content_set(win, over_container);
30 efl_ui_progressbar_pulse_set(waiting, EINA_FALSE);
31} 27}
32 28
33static void 29static void
@@ -87,7 +83,7 @@ _create_label(const char *name)
87{ 83{
88 Eo *result; 84 Eo *result;
89 85
90 result = efl_add(EFL_UI_TEXT_CLASS, container); 86 result = efl_add(EFL_UI_TEXTBOX_CLASS, container);
91 efl_text_interactive_editable_set(result, EINA_FALSE); 87 efl_text_interactive_editable_set(result, EINA_FALSE);
92 efl_text_set(result, name); 88 efl_text_set(result, name);
93 return result; 89 return result;
@@ -319,7 +315,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
319 efl_ui_win_autodel_set(win, EINA_TRUE); 315 efl_ui_win_autodel_set(win, EINA_TRUE);
320 efl_ui_win_exit_on_close_set(win, eina_value_int_new(0)); 316 efl_ui_win_exit_on_close_set(win, eina_value_int_new(0));
321 317
322 Eo *scroller = efl_new(EFL_UI_SPOTLIGHT_MANAGER_SCROLL_CLASS); 318 Eo *scroller = efl_new(EFL_UI_SPOTLIGHT_SCROLL_MANAGER_CLASS);
323 efl_ui_spotlight_manager_scroll_block_set(scroller, EINA_TRUE); 319 efl_ui_spotlight_manager_scroll_block_set(scroller, EINA_TRUE);
324 over_container = efl_add(EFL_UI_SPOTLIGHT_CONTAINER_CLASS, win, 320 over_container = efl_add(EFL_UI_SPOTLIGHT_CONTAINER_CLASS, win,
325 efl_ui_spotlight_manager_set(efl_added, scroller)); 321 efl_ui_spotlight_manager_set(efl_added, scroller));
@@ -343,7 +339,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
343 339
344 waiting = efl_add(EFL_UI_PROGRESSBAR_CLASS, win, 340 waiting = efl_add(EFL_UI_PROGRESSBAR_CLASS, win,
345 efl_ui_widget_style_set(efl_added, "wheel"), 341 efl_ui_widget_style_set(efl_added, "wheel"),
346 efl_ui_progressbar_pulse_mode_set(efl_added, EINA_TRUE)); 342 efl_ui_progressbar_infinite_mode_set(waiting, EINA_TRUE));
347 343
348 connection_backend_init(data_synced); 344 connection_backend_init(data_synced);
349 _wait_mode(); 345 _wait_mode();