summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-22 08:01:11 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-22 08:01:11 +0000
commite776d44fd7a3035665e622f71a135c1f275b3708 (patch)
tree27de3f9fbc77d2cc73c87deb98aed2d9bb2f398a /src/verbs.cpp
parentI renamed the adobe-illustrator-cs2.xml and macromedia-freehand-mx.xml to better (diff)
downloadinkscape-e776d44fd7a3035665e622f71a135c1f275b3708.tar.gz
inkscape-e776d44fd7a3035665e622f71a135c1f275b3708.zip
Committed a great patch which adds a Save A Copy menu function. This is the first gloss of this patch...I will add more stuff to it shortly...
(bzr r1628)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 409a332b9..d30cba2b9 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -798,6 +798,9 @@ FileVerb::perform(SPAction *action, void *data, void *pdata)
case SP_VERB_FILE_SAVE_AS:
sp_file_save_as(NULL, NULL);
break;
+ case SP_VERB_FILE_SAVE_A_COPY:
+ sp_file_save_a_copy(NULL, NULL);
+ break;
case SP_VERB_FILE_PRINT:
sp_file_print();
break;
@@ -1943,6 +1946,8 @@ Verb *Verb::_base_verbs[] = {
GTK_STOCK_SAVE ),
new FileVerb(SP_VERB_FILE_SAVE_AS, "FileSaveAs", N_("Save _As..."),
N_("Save document under a new name"), GTK_STOCK_SAVE_AS ),
+ new FileVerb(SP_VERB_FILE_SAVE_A_COPY, "FileSaveACopy", N_("Save a Cop_y..."),
+ N_("Save a copy of the document under a new name"), NULL ),
new FileVerb(SP_VERB_FILE_PRINT, "FilePrint", N_("_Print..."), N_("Print document"),
GTK_STOCK_PRINT ),
// TRANSLATORS: "Vacuum Defs" means "Clean up defs" (so as to remove unused definitions)