aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-01 11:30:28 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-01 11:30:28 -0400
commitd1342e1d461b0001f5154c3c95fcc116a2451f50 (patch)
tree45804fc5aca0100e435fffdd743775cd10bd8307 /src/uicmd.cc
parent80326c4d504759a206682d70f4f886f465b2d320 (diff)
Re-enabled the temoporary panels feature for Ctrl+l
It has lots of code cleanups and a simpler/more-uniform way of handling it all.
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 0889fd41..12aaca06 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -144,11 +144,7 @@ int CustTabs::handle(int e)
UI *ui = (UI*)wizard()->value();
BrowserWindow *bw = a_UIcmd_get_bw_by_widget(ui);
KeysCommand_t cmd = Keys::getKeyCmd();
- if (Fl::event_key() == FL_Escape) {
- // Hide findbar if present
- ui->findbar_toggle(0);
- ret = 1;
- } else if (cmd == KEYS_NOP) {
+ if (cmd == KEYS_NOP) {
// Do nothing
_MSG("CustTabs::handle KEYS_NOP\n");
} else if (cmd == KEYS_NEW_TAB) {
@@ -541,11 +537,6 @@ void a_UIcmd_open_url(BrowserWindow *bw, const DilloUrl *url)
BW2UI(bw)->focus_location();
a_UIcmd_set_buttons_sens(bw);
}
-#if 0
- if (BW2UI(bw)->get_panelmode() == UI_TEMPORARILY_SHOW_PANELS)
- BW2UI(bw)->set_panelmode(UI_HIDDEN);
- a_UIcmd_focus_main_area(bw);
-#endif
}
static void UIcmd_open_url_nbw(BrowserWindow *new_bw, const DilloUrl *url)