- int i = 1;
- for (; cit != end; ++cit, ++i) {
- docstring label = convert<docstring>(i) + ". " + _(cit->name);
- // frontend does not update ToolbarBackend::flags when it changes toolbar
- // Therefore, I can not tell from the flags if the toolbar is on or off
- // it is then less confusing to say:
- // this is: always on/off/auto
- // frontend toolbar change is temporary.
+ for (; cit != end; ++cit) {
+ docstring label = _(cit->gui_name);
+ // frontends are not supposed to turn on/off toolbars, if they cannot
+ // update ToolbarBackend::flags. That is to say, ToolbarsBackend::flags
+ // should reflect the true state of toolbars.