branch: Allow users to specify toolbar icons for commands with a backslash. This is in the same style as the replacements made for math-insert commands.

See the user's list:
http://thread.gmane.org/gmane.editors.lyx.general/52712


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28833 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-03-17 10:23:06 +00:00
parent 1388ec28bb
commit b79355e6a3
2 changed files with 3 additions and 0 deletions

View File

@ -317,6 +317,7 @@ QString iconName(FuncRequest const & f, bool unknown)
if (!f.argument().empty()) {
name1 = name2 + ' ' + toqstr(f.argument());
name1.replace(' ', '_');
name1.replace('\\', "backslash");
}
}

View File

@ -106,6 +106,8 @@ What's new
- Accidentally adding more than two rows for cases environments in
formulas is no longer possible (bug 4141).
- Enable the possibility to specify icons for commands with backspaces.
* DOCUMENTATION AND LOCALIZATION