diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2009-08-09 14:23:52 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2009-08-09 14:23:52 +0000 |
| commit | 606ebb35498c3d750bb2906954195baaa0fbcad6 (patch) | |
| tree | a4b40cd970efc83525392a6a8164e2e6789029b8 /src/extension/input.cpp | |
| parent | Adding a Tinfoil bump, removing NR from Non realistic shaders names (diff) | |
| download | inkscape-606ebb35498c3d750bb2906954195baaa0fbcad6.tar.gz inkscape-606ebb35498c3d750bb2906954195baaa0fbcad6.zip | |
Fix remaining glitches in the behaviour of the Save dialogs (w.r.t. remembering the last file type and folder). As part of the cleanup inkscape:output_extension was removed, too.
(bzr r8454)
Diffstat (limited to 'src/extension/input.cpp')
| -rw-r--r-- | src/extension/input.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/extension/input.cpp b/src/extension/input.cpp index 689c1286f..b4599dbd0 100644 --- a/src/extension/input.cpp +++ b/src/extension/input.cpp @@ -138,12 +138,6 @@ Input::check (void) from a file. The first thing that this does is make sure that the file actually exists. If it doesn't, a NULL is returned. If the file exits, then it is opened using the implmentation of this extension. - - After opening the document the output_extension is set. What this - accomplishes is that save can try to use an extension that supports - the same fileformat. So something like opening and saveing an - Adobe Illustrator file can be transparent (not recommended, but - transparent). This is all done with undo being turned off. */ SPDocument * Input::open (const gchar *uri) @@ -157,13 +151,6 @@ Input::open (const gchar *uri) timer->touch(); SPDocument *const doc = imp->open(this, uri); - if (doc != NULL) { - Inkscape::XML::Node * repr = sp_document_repr_root(doc); - bool saved = sp_document_get_undo_sensitive(doc); - sp_document_set_undo_sensitive (doc, false); - repr->setAttribute("inkscape:output_extension", output_extension); - sp_document_set_undo_sensitive (doc, saved); - } return doc; } |
