we should hide the graphic export formats for the
file->export menu.

Herbert



-- 
http://www.lyx.org/help/
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.691
diff -u -r1.691 ChangeLog
--- src/ChangeLog       24 Apr 2002 21:45:28 -0000      1.691
+++ src/ChangeLog       25 Apr 2002 17:21:58 -0000
@@ -1,3 +1,8 @@
+2002-04-25  Herbert Voss  <[EMAIL PROTECTED]>
+
+       * MenuBackend.C (expand): don't add the graphics extensions to the
+       export menu
+
 2002-04-24  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
        * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
Index: src/MenuBackend.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/MenuBackend.C,v
retrieving revision 1.39
diff -u -r1.39 MenuBackend.C
--- src/MenuBackend.C   4 Apr 2002 14:39:55 -0000       1.39
+++ src/MenuBackend.C   25 Apr 2002 17:21:58 -0000
@@ -353,6 +353,11 @@
                                if ((*fit)->dummy())
                                        continue;
                                string label = (*fit)->prettyname();
+                               // we need to hide the default graphic export formats
+                               // from the export 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");

Reply via email to