diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-03-24 18:23:15 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-03-24 18:23:15 -0300 |
commit | 1270e496491cc1df952e970f58ebdde0d4fb6ca7 (patch) | |
tree | 35e17b2fcd068661a75515efa88bef7910d096e7 /src | |
parent | a8401c80019e376bc25db73b01d352bc764d294d (diff) |
Bound KEYS_HIDE_PANELS key to hide panels (escape)
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.cc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -769,10 +769,11 @@ int UI::handle(int event) } else if (cmd == KEYS_GOTO) { focus_location(); ret = 1; - } else if (cmd == KEYS_HIDE_PANELS && - get_panelmode() == UI_TEMPORARILY_SHOW_PANELS) { - //set_panelmode(UI_HIDDEN); + } else if (cmd == KEYS_HIDE_PANELS) { + fullscreen_toggle(); ret = 1; + //if (get_panelmode() == UI_TEMPORARILY_SHOW_PANELS) + // set_panelmode(UI_HIDDEN); } else if (cmd == KEYS_OPEN) { a_UIcmd_open_file(a_UIcmd_get_bw_by_widget(this)); ret = 1; @@ -1094,7 +1095,7 @@ void UI::paste_url() } /* - * Ajust space for the findbar (if necessary) and show or remove it + * Adjust space for the findbar (if necessary) and show or remove it */ void UI::findbar_toggle(bool add) { |