From e776d44fd7a3035665e622f71a135c1f275b3708 Mon Sep 17 00:00:00 2001 From: Jon Phillips Date: Tue, 22 Aug 2006 08:01:11 +0000 Subject: 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) --- src/verbs.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/verbs.cpp') 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) -- cgit v1.2.3