summaryrefslogtreecommitdiff
path: root/src/bin/keyin.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-05-22 20:45:13 +0200
committerBoris Faure <billiob@gmail.com>2016-05-22 20:45:13 +0200
commitcd0f61dd267041e2a43cad63c68feb6119049972 (patch)
tree3cad2f66920c189ef97e4a0f060bf5f8ed3e1030 /src/bin/keyin.c
parent0c466d767c38a7c00b517204ff8987e77565ea4d (diff)
keybindings: fix binding to close focused term
Diffstat (limited to 'src/bin/keyin.c')
-rw-r--r--src/bin/keyin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index d08ac5b..d2b62fc 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -458,9 +458,9 @@ cb_tab_new(Evas_Object *termio_obj)
458} 458}
459 459
460static Eina_Bool 460static Eina_Bool
461cb_exited(Evas_Object *termio_obj) 461cb_close(Evas_Object *termio_obj)
462{ 462{
463 evas_object_smart_callback_call(termio_obj, "exited", NULL); 463 evas_object_smart_callback_call(termio_obj, "close", NULL);
464 return EINA_TRUE; 464 return EINA_TRUE;
465} 465}
466 466
@@ -624,7 +624,7 @@ static Shortcut_Action _actions[] =
624 {"split_h", gettext_noop("Split horizontally (new below)"), cb_split_h}, 624 {"split_h", gettext_noop("Split horizontally (new below)"), cb_split_h},
625 {"split_v", gettext_noop("Split vertically (new on right)"), cb_split_v}, 625 {"split_v", gettext_noop("Split vertically (new on right)"), cb_split_v},
626 {"tab_new", gettext_noop("Create a new \"tab\""), cb_tab_new}, 626 {"tab_new", gettext_noop("Create a new \"tab\""), cb_tab_new},
627 {"exited", gettext_noop("Close the focused terminal"), cb_exited}, 627 {"exited", gettext_noop("Close the focused terminal"), cb_close},
628 {"tab_select", gettext_noop("Bring up \"tab\" switcher"), cb_tab_select}, 628 {"tab_select", gettext_noop("Bring up \"tab\" switcher"), cb_tab_select},
629 {"tab_1", gettext_noop("Switch to terminal tab 1"), cb_tab_1}, 629 {"tab_1", gettext_noop("Switch to terminal tab 1"), cb_tab_1},
630 {"tab_2", gettext_noop("Switch to terminal tab 2"), cb_tab_2}, 630 {"tab_2", gettext_noop("Switch to terminal tab 2"), cb_tab_2},