Add a pane between upper filelist and whatevers going on below, and make sure overlay transition actually occurs.

This commit is contained in:
Jaime Thomas
2008-09-11 21:13:51 +00:00
parent 104bda3a47
commit 599c48ed2b
4 changed files with 91 additions and 10 deletions

View File

@ -156,21 +156,23 @@ _cb_filelist_key_down(void *data, Evas *e __UNUSED__,
ecore_strlcat(text, append, len);
}
edje_object_signal_emit(gui, "ecdb,filelist_overlay,activate",
"ecdb");
/* Avoid sending the same signal twice... seems to skip the
* transition in that case
*/
if (strlen(text) == 1)
edje_object_signal_emit(gui,
"ecdb,filelist_overlay,activate",
"ecdb");
edje_object_part_text_set(gui, "filelist_overlay_text", text);
free(text);
}
/* And timer! */
}
int
ecdb_create_main_gui(void)
{
Evas_Object *gui;
Evas_Object *swallow;
Evas_Object *gui, *swallow, *o;
Ewl_Widget *embed, *filelist;
Evas_Coord x, y, w, h;
@ -233,6 +235,8 @@ ecdb_create_main_gui(void)
_cb_filelist_key_down, gui);
evas_object_show(swallow);
/* Set up the paned stuff necessary */
return TRUE;
}