summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp-root.cpp3
-rw-r--r--src/sp-root.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-root.cpp b/src/sp-root.cpp
index 4f1444e31..12570e03e 100644
--- a/src/sp-root.cpp
+++ b/src/sp-root.cpp
@@ -387,6 +387,9 @@ void SPRoot::print(SPPrintContext *ctx)
sp_print_release(ctx);
}
+const char *SPRoot::displayName() const {
+ return "SVG"; // Do not translate
+}
/*
Local Variables:
diff --git a/src/sp-root.h b/src/sp-root.h
index 1c9faed9b..0e5d87133 100644
--- a/src/sp-root.h
+++ b/src/sp-root.h
@@ -63,6 +63,7 @@ public:
virtual Inkscape::DrawingItem* show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
virtual void print(SPPrintContext *ctx);
+ virtual const char* displayName() const;
};
#endif /* !SP_ROOT_H_SEEN */