summaryrefslogtreecommitdiff
path: root/src/bin/e_widget_toolbar.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-13 13:00:57 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-13 13:03:34 -0400
commit4b58fa9a4e77229ed7247887aa6dcb03fc47425b (patch)
tree8578ecb2a5648bcdf2a44879f0f2d8dd1b1bdfa4 /src/bin/e_widget_toolbar.c
parent8422eea8d014000d9f48aafa0541725f661de7b5 (diff)
replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
Diffstat (limited to 'src/bin/e_widget_toolbar.c')
-rw-r--r--src/bin/e_widget_toolbar.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/e_widget_toolbar.c b/src/bin/e_widget_toolbar.c
index c432044..612958c 100644
--- a/src/bin/e_widget_toolbar.c
+++ b/src/bin/e_widget_toolbar.c
@@ -466,8 +466,8 @@ _e_wid_cb_key_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED_
466 ev = event_info; 466 ev = event_info;
467 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; 467 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
468 wd = e_widget_data_get(data); 468 wd = e_widget_data_get(data);
469 if ((!strcmp(ev->keyname, "Up")) || (!strcmp(ev->keyname, "KP_Up")) || 469 if ((!strcmp(ev->key, "Up")) || (!strcmp(ev->key, "KP_Up")) ||
470 (!strcmp(ev->keyname, "Left")) || (!strcmp(ev->keyname, "KP_Left"))) 470 (!strcmp(ev->key, "Left")) || (!strcmp(ev->key, "KP_Left")))
471 { 471 {
472 EINA_LIST_FOREACH(wd->items, l, it) 472 EINA_LIST_FOREACH(wd->items, l, it)
473 { 473 {
@@ -479,10 +479,10 @@ _e_wid_cb_key_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED_
479 } 479 }
480 } 480 }
481 } 481 }
482 else if ((!strcmp(ev->keyname, "Down")) || 482 else if ((!strcmp(ev->key, "Down")) ||
483 (!strcmp(ev->keyname, "KP_Down")) || 483 (!strcmp(ev->key, "KP_Down")) ||
484 (!strcmp(ev->keyname, "Right")) || 484 (!strcmp(ev->key, "Right")) ||
485 (!strcmp(ev->keyname, "KP_Right"))) 485 (!strcmp(ev->key, "KP_Right")))
486 { 486 {
487 EINA_LIST_FOREACH(wd->items, l, it) 487 EINA_LIST_FOREACH(wd->items, l, it)
488 { 488 {
@@ -494,8 +494,8 @@ _e_wid_cb_key_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED_
494 } 494 }
495 } 495 }
496 } 496 }
497 else if ((!strcmp(ev->keyname, "Home")) || 497 else if ((!strcmp(ev->key, "Home")) ||
498 (!strcmp(ev->keyname, "KP_Home"))) 498 (!strcmp(ev->key, "KP_Home")))
499 { 499 {
500 EINA_LIST_FOREACH(wd->items, l, it) 500 EINA_LIST_FOREACH(wd->items, l, it)
501 { 501 {
@@ -506,7 +506,7 @@ _e_wid_cb_key_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED_
506 } 506 }
507 } 507 }
508 } 508 }
509 else if ((!strcmp(ev->keyname, "End")) || (!strcmp(ev->keyname, "KP_End"))) 509 else if ((!strcmp(ev->key, "End")) || (!strcmp(ev->key, "KP_End")))
510 { 510 {
511 EINA_LIST_FOREACH(wd->items, l, it) 511 EINA_LIST_FOREACH(wd->items, l, it)
512 { 512 {