From fbb85064cfaaf03cc09bacedb16a8561f61f2b3d Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Sat, 13 Apr 2013 00:37:18 +0200 Subject: Added prefPaths to contexts; modified SPFactory (bzr r11608.1.94) --- src/ui/tool/node-tool.cpp | 2 ++ src/ui/tool/node-tool.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/ui') diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp index 8d8db772a..8887d4334 100644 --- a/src/ui/tool/node-tool.cpp +++ b/src/ui/tool/node-tool.cpp @@ -124,6 +124,8 @@ void handleControlUiStyleChange(InkNodeTool *nt); //} // anonymous namespace +const std::string InkNodeTool::prefsPath = "/tools/nodes"; + G_DEFINE_TYPE(InkNodeTool, ink_node_tool, SP_TYPE_EVENT_CONTEXT); static void diff --git a/src/ui/tool/node-tool.h b/src/ui/tool/node-tool.h index f997aee11..b5ce65513 100644 --- a/src/ui/tool/node-tool.h +++ b/src/ui/tool/node-tool.h @@ -74,6 +74,8 @@ public: unsigned single_node_transform_handles : 1; unsigned edit_clipping_paths : 1; unsigned edit_masks : 1; + + static const std::string prefsPath; }; struct InkNodeToolClass { -- cgit v1.2.3