summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93de6aa)
raw | patch | inline | side by side (parent: 93de6aa)
author | JucaBlues <JucaBlues@users.sourceforge.net> | |
Wed, 25 Jun 2008 02:53:34 +0000 (02:53 +0000) | ||
committer | JucaBlues <JucaBlues@users.sourceforge.net> | |
Wed, 25 Jun 2008 02:53:34 +0000 (02:53 +0000) |
diff --git a/src/menus-skeleton.h b/src/menus-skeleton.h
index c712b52a9fe79783a71f9db08d2d20ce50264dcb..51573f7d3575154eca6935f427755b1e8db3bf2d 100644 (file)
--- a/src/menus-skeleton.h
+++ b/src/menus-skeleton.h
" <verb verb-id=\"DialogFilterEffects\" />\n"
" <verb verb-id=\"RemoveFilter\" />\n"
" <separator/>\n"
+" <verb verb-id=\"DialogSVGFonts\" />\n"
+" <separator/>\n"
" <verb verb-id=\"SelectionGroup\" />\n"
" <verb verb-id=\"SelectionUnGroup\" />\n"
" <separator/>\n"
index 9d9bce6057648d62c48436bdbdb73ee25d06808d..e300fe5b3eb8e9e90ea95a25b173627bd0465d09 100644 (file)
ui/dialog/print.h \
ui/dialog/scriptdialog.cpp \
ui/dialog/scriptdialog.h \
+ ui/dialog/svg-fonts-dialog.cpp \
+ ui/dialog/svg-fonts-dialog.h \
ui/dialog/text-properties.cpp \
ui/dialog/text-properties.h \
ui/dialog/tracedialog.cpp \
index 15ebcef5ac133824f50c35381345a001e88d2de0..a2b839607e7fb2f81a08564ccef970e5189dcf13 100644 (file)
#include "ui/dialog/memory.h"
#include "ui/dialog/messages.h"
#include "ui/dialog/scriptdialog.h"
+#include "ui/dialog/svg-fonts-dialog.h"
#include "ui/dialog/text-properties.h"
#include "ui/dialog/tracedialog.h"
#include "ui/dialog/transformation.h"
registerFactory("Memory", &create<Memory, FloatingBehavior>);
registerFactory("Messages", &create<Messages, FloatingBehavior>);
registerFactory("Script", &create<ScriptDialog, FloatingBehavior>);
+#ifdef ENABLE_SVG_FONTS
+ registerFactory("SvgFontsDialog", &create<SvgFontsDialog, FloatingBehavior>);
+#endif
registerFactory("Swatches", &create<SwatchesPanel, FloatingBehavior>);
registerFactory("TextProperties", &create<TextProperties, FloatingBehavior>);
registerFactory("TileDialog", &create<TileDialog, FloatingBehavior>);
registerFactory("Memory", &create<Memory, DockBehavior>);
registerFactory("Messages", &create<Messages, DockBehavior>);
registerFactory("Script", &create<ScriptDialog, DockBehavior>);
+#ifdef ENABLE_SVG_FONTS
+ registerFactory("SvgFontsDialog", &create<SvgFontsDialog, DockBehavior>);
+#endif
registerFactory("Swatches", &create<SwatchesPanel, DockBehavior>);
registerFactory("TextProperties", &create<TextProperties, DockBehavior>);
registerFactory("TileDialog", &create<TileDialog, DockBehavior>);
diff --git a/src/verbs.cpp b/src/verbs.cpp
index da3c7c1820cf7d1b4c69734a719549abf451bfba..494181e555e5536700740f2c4fa713efe8cec17e 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
case SP_VERB_DIALOG_FILTER_EFFECTS:
dt->_dlg_mgr->showDialog("FilterEffectsDialog");
break;
+ case SP_VERB_DIALOG_SVG_FONTS:
+ dt->_dlg_mgr->showDialog("SvgFontsDialog");
+ break;
default:
break;
}
N_("Manage path effects"), NULL),
new DialogVerb(SP_VERB_DIALOG_FILTER_EFFECTS, "DialogFilterEffects", N_("Filter Effects..."),
N_("Manage SVG filter effects"), NULL),
+ new DialogVerb(SP_VERB_DIALOG_SVG_FONTS, "DialogSVGFonts", N_("SVG Fonts..."),
+ N_("Manage SVG fonts"), NULL),
/* Help */
new HelpVerb(SP_VERB_HELP_ABOUT_EXTENSIONS, "HelpAboutExtensions", N_("About E_xtensions"),
diff --git a/src/verbs.h b/src/verbs.h
index 657716bc3e3471757224ceff2eff7117766598f0..bb3cd3a3bf14f6b276501bd4f7dd6f1290dcbed6 100644 (file)
--- a/src/verbs.h
+++ b/src/verbs.h
SP_VERB_DIALOG_LAYERS,
SP_VERB_DIALOG_LIVE_PATH_EFFECT,
SP_VERB_DIALOG_FILTER_EFFECTS,
+ SP_VERB_DIALOG_SVG_FONTS,
/* Help */
SP_VERB_HELP_ABOUT_EXTENSIONS,
SP_VERB_HELP_MEMORY,