diff options
-rw-r--r-- | Docs/USING-Framebuffer | 18 | ||||
-rw-r--r-- | framebuffer/gui.c | 3 |
2 files changed, 13 insertions, 8 deletions
diff --git a/Docs/USING-Framebuffer b/Docs/USING-Framebuffer index d09274d88..3af8f983f 100644 --- a/Docs/USING-Framebuffer +++ b/Docs/USING-Framebuffer @@ -96,18 +96,22 @@ Configuring The layout of the toolbar, layout uses a string to define buttons type and position each character adds an element to the toolbar: - b - back - l - local history - f - forward - s - stop - r - refresh + b - Move back in history + l - Display the local history + f - Move forward in history + s - stop fetching content + r - refresh content u - url bar expands to fit remaining space t - throbber/activity indicator c - close the current window + q - Disable The toolbar altogether + + If the option contains only the q specifier the toolbar is + disabled altogether (this was previously the empty string but that + was difficult to configure correctly). The default layout is "blfsrutc" there should be no more than a - single url bar entry. If the option is set to the empty string (no - spaces permitted) the toolbar is disabled altogether. + single url bar entry. fb_osk Whether the on screen keyboard should be enabled for input. 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; } |