diff options
| author | Slagvi Public <JandotDarowskiattgmaildottcom> | 2013-07-03 11:35:06 +0000 |
|---|---|---|
| committer | Slagvi Public <JandotDarowskiattgmaildottcom> | 2013-07-03 11:35:06 +0000 |
| commit | ec3d3965f0aa7444d42fc8765abbc9c3ed0916ce (patch) | |
| tree | 2343cccb3cec58a0dc71138b844cb55d0895e7d6 /src/file.cpp | |
| parent | Adding NewFromTemplate to the Inkscape menu (diff) | |
| download | inkscape-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.cpp | 8 |
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 ######################*/ |
