From daf745d42641e5db7f55a78ad87cb2b620781ba4 Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Mon, 24 Nov 2008 00:20:25 +0000 Subject: adding "remove" context menu in the embedded color profiles box (bzr r6897) --- src/verbs.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/verbs.cpp') diff --git a/src/verbs.cpp b/src/verbs.cpp index 4ddf58957..17fd00421 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -69,6 +69,7 @@ #include "path-chemistry.h" #include "text-chemistry.h" #include "ui/dialog/dialog-manager.h" +#include "ui/dialog/document-properties.h" #include "ui/dialog/inkscape-preferences.h" #include "interface.h" #include "preferences.h" @@ -983,6 +984,10 @@ EditVerb::perform(SPAction *action, void *data, void */*pdata*/) case SP_VERB_EDIT_NEXT_PATHEFFECT_PARAMETER: sp_selection_next_patheffect_param(dt); break; + case SP_VERB_EDIT_EMBED_COLOR_PROFILE: + break; + case SP_VERB_EDIT_REMOVE_COLOR_PROFILE: + break; default: break; } @@ -2707,6 +2712,11 @@ Verb *Verb::_base_verbs[] = { N_("Unhide all objects in the current layer"), NULL), new LockAndHideVerb(SP_VERB_UNHIDE_ALL_IN_ALL_LAYERS, "UnhideAllInAllLayers", N_("Unhide All in All Layers"), N_("Unhide all objects in all layers"), NULL), + /*Color Management*/ + new EditVerb(SP_VERB_EDIT_EMBED_COLOR_PROFILE, "EmbedColorProfile", N_("Embed Color Profile"), + N_("Embed an ICC color profile"), NULL), + new EditVerb(SP_VERB_EDIT_REMOVE_COLOR_PROFILE, "RemoveColorProfile", N_("Remove Color Profile"), + N_("Remove an embedded ICC color profile"), NULL), /* Footer */ new Verb(SP_VERB_LAST, " '\"invalid id", NULL, NULL, NULL) }; -- cgit v1.2.3