aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-07-11 14:03:47 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-07-11 14:03:47 -0400
commit64ebc0065c367226307a4d98b084ad024f02e972 (patch)
tree380dad3f9c7c1f6ff4aae48785cd8b8302c8490d /src/uicmd.cc
parent9ef8198720e627434f898fb41f0724c7849dacab (diff)
Made "hide-panels" hide the findbar, then panels (and removed "fullscreen").
Redefined "hide-panels" to close the findbar if it's visible, and all the panels when the findbar is not visible.
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 13cdfd91..f257d537 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -165,9 +165,6 @@ int CustTabs::handle(int e)
} else if (cmd == KEYS_NEW_WINDOW) {
a_UIcmd_open_url_nw(bw, NULL);
ret = 1;
- } else if (cmd == KEYS_FULLSCREEN) {
- MSG("CustTabs::handle KEYS_FULLSCREEN\n");
- ret = 1;
} else if (cmd == KEYS_CLOSE_ALL) {
a_Timeout_add(0.0, a_UIcmd_close_all_bw, NULL);
ret = 1;
@@ -1216,11 +1213,11 @@ int a_UIcmd_pointer_on_link(BrowserWindow *bw)
}
/*
- * Toggle control panel (aka. fullscreen)
+ * Toggle control panel
*/
-void a_UIcmd_fullscreen_toggle(BrowserWindow *bw)
+void a_UIcmd_panels_toggle(BrowserWindow *bw)
{
- BW2UI(bw)->fullscreen_toggle();
+ BW2UI(bw)->panels_toggle();
}
/*