summaryrefslogtreecommitdiffstats
path: root/src/main-cmdlinexact.cpp
diff options
context:
space:
mode:
authordmitry.zhulanov@gmail.com <>2017-05-17 20:57:46 +0000
committerdmitry.zhulanov@gmail.com <>2017-05-17 20:57:46 +0000
commit5bfd9a2fc8244c78125dc417975b6feff6b884f1 (patch)
tree027f29f9b6a4bbb4196ca1e2c2896467c6e1609c /src/main-cmdlinexact.cpp
parentFix build warning (diff)
downloadinkscape-5bfd9a2fc8244c78125dc417975b6feff6b884f1.tar.gz
inkscape-5bfd9a2fc8244c78125dc417975b6feff6b884f1.zip
fix naming
(bzr r15697.1.1)
Diffstat (limited to 'src/main-cmdlinexact.cpp')
-rw-r--r--src/main-cmdlinexact.cpp37
1 files changed, 4 insertions, 33 deletions
diff --git a/src/main-cmdlinexact.cpp b/src/main-cmdlinexact.cpp
index 99f0c699b..fd9520104 100644
--- a/src/main-cmdlinexact.cpp
+++ b/src/main-cmdlinexact.cpp
@@ -6,38 +6,9 @@
*
* Released under GNU GPL v2, read the file 'COPYING' for more information
*
- * Format of xverbs.yaml
- * using: $ inkscape -B xverbs.yaml
- *
- * verbose: yes # only "verbose: yes" enable logging
- * run:
- * # open document to process
- * - xverb-id: XFileOpen, gfx_sources/loading_screen/sandclock_atlas.svg
- * - xverb-id: XUndoLabel, fresh_document # set label for UndoToLabel xverb works
- * # note: if something wrong with undo labels use verb EditUndo instead of XUndoLabel and UndoToLabel at all
- *
- * # select element to handle
- * - xverb-id: XSelectElement, top_sand
- *
- * # verbs
- * - verb-id: EditInvertInAllLayers
- * - verb-id: EditDelete
- * - verb-id: FitCanvasToDrawing
- *
- * # save element to separated svg document
- * - xverb-id: XFileSaveAs, output/thegame/linux/data/gfx/loading_screen/top_sand.svg
- *
- * # also save png preview
- * - xverb-id: XFileExportPNG, output/thegame/linux/data/gfx_preview/loading_screen/top_sand.png
- *
- * # return to the fresh_state of document
- * - xverb-id: UndoToLabel, fresh_document
- *
- * # do any other handling
- *
- * # inkscape have a lot of useful verbs
- * - verb-id: FileQuit
+ * more details: http://wiki.inkscape.org/wiki/index.php/Using_xverbs
*/
+
#ifdef WITH_YAML
#include <ui/view/view.h>
#include <desktop.h>
@@ -504,9 +475,9 @@ CmdLineXAction::createActionsFromYAML( gchar const *yaml_filename )
continue;
}
undo_labels_map[verb.args[1]] = undo_counter;
- } else if (verb_word == "UndoToLabel") {
+ } else if (verb_word == "XUndoToLabel") {
if (verb.args.size() < 2) {
- printf("bad arguments for UndoToLabel\n");
+ printf("bad arguments for XUndoToLabel\n");
continue;
}