summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-09-08 17:28:17 +0200
committerBoris Faure <billiob@gmail.com>2013-09-08 17:28:17 +0200
commit4a79fe43d55861161f425d7d27cc734904fa9afe (patch)
treeb464a7c11526abddcef3f9fd564b3859f4df8047
parent71d4f155be9c81841d861d1451844043ed3cb3c8 (diff)
fix focus issue when changing options. Closes #T27
-rw-r--r--src/bin/options.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index f5042a8..1081c62 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -235,14 +235,15 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
235 edje_object_signal_callback_del(bg, "optdetails,hide,done", 235 edje_object_signal_callback_del(bg, "optdetails,hide,done",
236 "terminology", 236 "terminology",
237 _cb_opdt_hide_done); 237 _cb_opdt_hide_done);
238 elm_object_focus_set(op_frame, EINA_FALSE);
239 elm_object_focus_set(op_opbox, EINA_FALSE);
240 elm_object_focus_set(op_toolbar, EINA_FALSE);
241 if (op_donecb) op_donecb(op_donedata);
238 evas_object_del(op_over); 242 evas_object_del(op_over);
239 op_over = NULL; 243 op_over = NULL;
240 edje_object_signal_emit(bg, "options,hide", "terminology"); 244 edje_object_signal_emit(bg, "options,hide", "terminology");
241 edje_object_signal_emit(bg, "optdetails,hide", "terminology"); 245 edje_object_signal_emit(bg, "optdetails,hide", "terminology");
242 op_out = EINA_FALSE; 246 op_out = EINA_FALSE;
243 elm_object_focus_set(op_frame, EINA_FALSE);
244 if (op_donecb) op_donecb(op_donedata);
245// elm_object_focus_set(term, EINA_TRUE);
246 if (op_del_timer) ecore_timer_del(op_del_timer); 247 if (op_del_timer) ecore_timer_del(op_del_timer);
247 op_del_timer = ecore_timer_add(10.0, _cb_op_del_delay, NULL); 248 op_del_timer = ecore_timer_add(10.0, _cb_op_del_delay, NULL);
248 } 249 }