summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-05-07 20:07:48 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-05-08 17:07:25 -0400
commita8af00aeb659609c47b1dff9e1f0f095691ebd55 (patch)
treedd544095eb9fb08c32b06dfee98d05f399260284
parentecafb752d8be2e24348214cb53ec6842848e9b96 (diff)
bugfix: fix syscon button signals
fix T1155
-rw-r--r--src/modules/syscon/e_syscon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/syscon/e_syscon.c b/src/modules/syscon/e_syscon.c
index a87f758c8..413d90c9f 100644
--- a/src/modules/syscon/e_syscon.c
+++ b/src/modules/syscon/e_syscon.c
@@ -329,7 +329,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev)
329 } 329 }
330 else 330 else
331 { 331 {
332 edje_object_signal_emit(o_selected, "e,state,focused", "e"); 332 edje_object_signal_emit(o_selected, "e,state,unfocused", "e");
333 o_selected = e_flowlayout_pack_object_prev(o_selected_flow, o_selected); 333 o_selected = e_flowlayout_pack_object_prev(o_selected_flow, o_selected);
334 if (!o_selected) 334 if (!o_selected)
335 { 335 {
@@ -353,7 +353,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev)
353 } 353 }
354 } 354 }
355 } 355 }
356 edje_object_signal_emit(o_selected, "e,state,unfocused", "e"); 356 edje_object_signal_emit(o_selected, "e,state,focused", "e");
357 } 357 }
358 else if ((!strcmp(ev->key, "Right")) || (!strcmp(ev->key, "Down")) || (!strcmp(ev->key, "Tab"))) 358 else if ((!strcmp(ev->key, "Right")) || (!strcmp(ev->key, "Down")) || (!strcmp(ev->key, "Tab")))
359 { 359 {
@@ -361,7 +361,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev)
361 o_selected_flow = o_flow_main, o_selected = e_flowlayout_pack_object_first(o_flow_main); 361 o_selected_flow = o_flow_main, o_selected = e_flowlayout_pack_object_first(o_flow_main);
362 else 362 else
363 { 363 {
364 edje_object_signal_emit(o_selected, "e,state,focused", "e"); 364 edje_object_signal_emit(o_selected, "e,state,unfocused", "e");
365 o_selected = e_flowlayout_pack_object_next(o_selected_flow, o_selected); 365 o_selected = e_flowlayout_pack_object_next(o_selected_flow, o_selected);
366 if (!o_selected) 366 if (!o_selected)
367 { 367 {
@@ -385,7 +385,7 @@ _cb_key_down(__UNUSED__ void *data, Ecore_Event_Key *ev)
385 } 385 }
386 } 386 }
387 } 387 }
388 edje_object_signal_emit(o_selected, "e,state,unfocused", "e"); 388 edje_object_signal_emit(o_selected, "e,state,focused", "e");
389 } 389 }
390 else if ((!strcmp(ev->keyname, "KP_Enter")) || (!strcmp(ev->keyname, "Return"))) 390 else if ((!strcmp(ev->keyname, "KP_Enter")) || (!strcmp(ev->keyname, "Return")))
391 { 391 {