summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorSlagvi Public <JandotDarowskiattgmaildottcom>2013-07-03 11:35:06 +0000
committerSlagvi Public <JandotDarowskiattgmaildottcom>2013-07-03 11:35:06 +0000
commitec3d3965f0aa7444d42fc8765abbc9c3ed0916ce (patch)
tree2343cccb3cec58a0dc71138b844cb55d0895e7d6 /src/file.cpp
parentAdding NewFromTemplate to the Inkscape menu (diff)
downloadinkscape-ec3d3965f0aa7444d42fc8765abbc9c3ed0916ce.tar.gz
inkscape-ec3d3965f0aa7444d42fc8765abbc9c3ed0916ce.zip
Templates menu item fixed
(bzr r12379.2.6)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 5b4110253..7f8bfc8bf 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -66,6 +66,7 @@
#include "verbs.h"
#include "event-log.h"
#include "ui/dialog/font-substitution.h"
+#include "ui/dialog/new-from-template.h"
#include <gtk/gtk.h>
@@ -199,6 +200,13 @@ SPDesktop* sp_file_new_default()
return desk;
}
+SPDesktop* sp_file_new_from_templatee()
+{
+ Inkscape::UI::NewFromTemplate dl;
+ dl.run();
+ return sp_file_new_default();
+}
+
/*######################
## D E L E T E
######################*/