summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-04-01 09:36:46 +0000
committerJon A. Cruz <jon@joncruz.org>2010-04-01 09:36:46 +0000
commitca353feacd19d98d8fee95bcd1bd018431034a1e (patch)
tree83f5d0805185028f623ca001a009a06982a9e90b /src/verbs.cpp
parentPatch by Daniel_J for 522327 (diff)
downloadinkscape-ca353feacd19d98d8fee95bcd1bd018431034a1e.tar.gz
inkscape-ca353feacd19d98d8fee95bcd1bd018431034a1e.zip
Initial cut of glyph selector dialog is in. Fixes bug #343186.
Fixed bugs: - https://launchpad.net/bugs/343186 (bzr r9268)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index dc1116953..66b6140b4 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -73,6 +73,7 @@
#include "ui/dialog/dialog-manager.h"
#include "ui/dialog/document-properties.h"
#include "ui/dialog/extensions.h"
+#include "ui/dialog/glyphs.h"
#include "ui/dialog/icon-preview.h"
#include "ui/dialog/inkscape-preferences.h"
#include "ui/dialog/layer-properties.h"
@@ -1731,6 +1732,9 @@ DialogVerb::perform(SPAction *action, void *data, void */*pdata*/)
case SP_VERB_DIALOG_FILL_STROKE:
dt->_dlg_mgr->showDialog("FillAndStroke");
break;
+ case SP_VERB_DIALOG_GLYPHS:
+ dt->_dlg_mgr->showDialog("Glyphs");
+ break;
case SP_VERB_DIALOG_SWATCHES:
dt->_dlg_mgr->showDialog("Swatches");
break;
@@ -2597,6 +2601,8 @@ Verb *Verb::_base_verbs[] = {
N_("Edit document metadata (to be saved with the document)"), INKSCAPE_ICON_DOCUMENT_METADATA ),
new DialogVerb(SP_VERB_DIALOG_FILL_STROKE, "DialogFillStroke", N_("_Fill and Stroke..."),
N_("Edit objects' colors, gradients, stroke width, arrowheads, dash patterns..."), INKSCAPE_ICON_DIALOG_FILL_AND_STROKE),
+ new DialogVerb(SP_VERB_DIALOG_GLYPHS, "DialogGlyphs", N_("Glyphs..."),
+ N_("Select characters from a glyphs palette"), GTK_STOCK_SELECT_FONT),
// TRANSLATORS: "Swatches" means: color samples
new DialogVerb(SP_VERB_DIALOG_SWATCHES, "DialogSwatches", N_("S_watches..."),
N_("Select colors from a swatches palette"), GTK_STOCK_SELECT_COLOR),