Code

Do not have menu entry for SVG Fonts if they are not enabled
authorjoncruz <joncruz@users.sourceforge.net>
Thu, 26 Jun 2008 04:09:44 +0000 (04:09 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Thu, 26 Jun 2008 04:09:44 +0000 (04:09 +0000)
src/menus-skeleton.h

index c0637722162b9c422605d473d8e8bd9627ed14f2..bd4f8535ee74fe19b16c6de2a094b706e0948393 100644 (file)
@@ -228,7 +228,9 @@ static char const menus_skeleton[] =
 "   </submenu>\n"
 "   <submenu name=\"" N_("_Text") "\">\n"
 "       <verb verb-id=\"DialogText\" />\n"
+#ifdef ENABLE_SVG_FONTS
 "       <verb verb-id=\"DialogSVGFonts\" />\n"
+#endif // ENABLE_SVG_FONTS
 "       <separator/>\n"
 "       <verb verb-id=\"SelectionTextToPath\" />\n"
 "       <verb verb-id=\"SelectionTextFromPath\" />\n"