From 871c14693e084d4b6ce6ac1786dd08a124185bb6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 27 Dec 2014 11:11:41 +0000 Subject: change the framebuffer frontend way of disabling the toolbar This changes the toolbar disabling from the empty string (which is impossible to configure) to the q (for quiet) specifier --- framebuffer/gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framebuffer') diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 986c2aee6..9f6a798be 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -1188,7 +1188,8 @@ create_toolbar(struct gui_window *gw, itmtype = toolbar_layout; - if (*itmtype == 0) { + /* check for the toolbar being disabled */ + if ((*itmtype == 0) || (*itmtype == 'q')) { return NULL; } -- cgit v1.2.3