aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-03-24 18:23:15 -0300
committerJorge Arellano Cid <jcid@dillo.org>2011-03-24 18:23:15 -0300
commit1270e496491cc1df952e970f58ebdde0d4fb6ca7 (patch)
tree35e17b2fcd068661a75515efa88bef7910d096e7 /src
parenta8401c80019e376bc25db73b01d352bc764d294d (diff)
Bound KEYS_HIDE_PANELS key to hide panels (escape)
Diffstat (limited to 'src')
-rw-r--r--src/ui.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 2eb4f52c..1d9e9bfd 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -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)
{