if ((*fit)->dummy())
continue;
string label = (*fit)->prettyname();
+ // we need to hide the default graphic export
+ // formats from the external menu, because we
+ // need them only for the internal lyx-view and
+ // external latex run
+ if (label == "EPS" ||
+ label == "XPM" ||
+ label == "PNG")
+ continue;
+
if (cit->kind() == MenuItem::ImportFormats)
if ((*fit)->name() == "text")
label = _("Ascii text as lines");
int const action = lyxaction
.getPseudoAction(LFUN_FLOAT_LIST,
cit->second.type());
- string const label = _(cit->second.name()) + _(" List");
tomenu.add(MenuItem(MenuItem::Command,
- label, action));
+ _(cit->second.listName()),
+ action));
}
}
break;
int const action2 = lyxaction
.getPseudoAction(LFUN_INSET_WIDE_FLOAT,
cit->second.type());
- string const label2 = _("Wide ") + label;
+ string const label2 = label + _(" (wide)");
tomenu.add(MenuItem(MenuItem::Command,
label2, action2));
}