aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-06-19 07:58:08 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-06-19 07:58:08 +0000
commita4dd7976fd731a727605de2685dd09ac1d94ec5f (patch)
treec70bb4cf3ba502501e62938c71acec173716b31a /src
parentmake gustavo happy with options now espanding when term expands (up to (diff)
downloadterminology-a4dd7976fd731a727605de2685dd09ac1d94ec5f.tar.gz
work around focus baddies on options show/hide -> tasn.
SVN revision: 72454
Diffstat (limited to 'src')
-rw-r--r--src/bin/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index 6cd824b..5847fdb 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -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);