forked from enlightenment/terminology
work around focus baddies on options show/hide -> tasn.
SVN revision: 72454
This commit is contained in:
parent
fd0b697aeb
commit
a4dd7976fd
|
@ -143,6 +143,7 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term)
|
|||
{
|
||||
edje_object_signal_emit(bg, "options,show", "terminology");
|
||||
op_out = EINA_TRUE;
|
||||
elm_object_focus_set(op_toolbar, EINA_TRUE);
|
||||
if (op_del_timer)
|
||||
{
|
||||
ecore_timer_del(op_del_timer);
|
||||
|
@ -153,6 +154,7 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term)
|
|||
{
|
||||
edje_object_signal_emit(bg, "options,hide", "terminology");
|
||||
op_out = EINA_FALSE;
|
||||
elm_object_focus_set(op_frame, EINA_FALSE);
|
||||
elm_object_focus_set(term, EINA_TRUE);
|
||||
if (op_del_timer) ecore_timer_del(op_del_timer);
|
||||
op_del_timer = ecore_timer_add(10.0, _cb_op_del_delay, NULL);
|
||||
|
|
Loading…
Reference in New Issue