From 3e6ba3478f1200df7d7cd5ccd57728e3f5122be9 Mon Sep 17 00:00:00 2001 From: portix Date: Mon, 17 Sep 2012 21:16:40 +0200 Subject: New option show-single-tab --- src/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.c') diff --git a/src/commands.c b/src/commands.c index da2645da..5e85035c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -679,7 +679,7 @@ commands_only(KeyMap *km, Arg *arg) { }/*}}}*/ static void commands_set_bars(int status) { - gtk_widget_set_visible(dwb.gui.topbox, status & BAR_VIS_TOP); + gtk_widget_set_visible(dwb.gui.topbox, (status & BAR_VIS_TOP) && (GET_BOOL("show-single-tab") || dwb.state.views->next)); gtk_widget_set_visible(dwb.gui.bottombox, status & BAR_VIS_STATUS); if ((status & BAR_VIS_STATUS) ) { dwb_dom_remove_from_parent(WEBKIT_DOM_NODE(CURRENT_VIEW()->hover.element), NULL); -- cgit v1.2.3