* BufferView_pimpl.C (Dispatch): Check that float type exists when
inserting list of floats.
+2002-04-25 Herbert Voss <voss@lyx.org>
+
+ * MenuBackend.C (expand): don't add the graphics extensions to the
+ export menu
+
2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
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");
+2002-04-25 Herbert Voss <voss@lyx.org>
+
+ * ControlSendto.C (allFormats): don't add the graphics extensions to the
+ export menu
+
2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
* biblio.C (getAbbreviatedAuthor, getYear): Deal with sub-standard
Formats::const_iterator fo_it = formats.begin();
Formats::const_iterator fo_end = formats.end();
for (; fo_it != fo_end; ++fo_it) {
- if (converters.isReachable(*ex_it, fo_it->name())) {
+ // 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
+ string const name = fo_it->name();
+ if (name != "eps" && name != "xpm" && name != "png" &&
+ converters.isReachable(*ex_it, name))
to.push_back(&(*fo_it));
- }
}
}