mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
* add "auto" flag for toolbars
* make macro toolbar automatic This reverts commit 7d48e270549aa04c34fae9ce9682162c78f57eda. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22655 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d60aff6c00
commit
135fbe2c1b
@ -40,6 +40,6 @@ Toolbars
|
||||
"table" "table,bottom"
|
||||
"math_panels" "math,bottom"
|
||||
"math" "math,bottom"
|
||||
"mathmacrotemplate" "mathmacrotemplate,bottom"
|
||||
"mathmacrotemplate" "auto,mathmacrotemplate,bottom"
|
||||
"minibuffer" "off,bottom"
|
||||
End
|
||||
|
@ -307,6 +307,8 @@ void ToolbarBackend::readToolbarSettings(Lexer & lex)
|
||||
flag = ToolbarInfo::LEFT;
|
||||
else if (!compare_ascii_no_case(*cit, "right"))
|
||||
flag = ToolbarInfo::RIGHT;
|
||||
else if (!compare_ascii_no_case(*cit, "auto"))
|
||||
flag = ToolbarInfo::AUTO;
|
||||
else {
|
||||
LYXERR(Debug::ANY,
|
||||
"ToolbarBackend::readToolbarSettings: unrecognised token:`"
|
||||
|
Loading…
Reference in New Issue
Block a user