diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-04-26 16:55:14 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-04-26 16:55:14 +0000 |
| commit | dccca32d43a1ec37bf8ca643c4672a377ec1dfe9 (patch) | |
| tree | ddc43e8c99f1bfe83175064ba2c3608a686b465c /src/ui/clipboard.cpp | |
| parent | updating to previous po (diff) | |
| parent | translation typo (diff) | |
| download | inkscape-dccca32d43a1ec37bf8ca643c4672a377ec1dfe9.tar.gz inkscape-dccca32d43a1ec37bf8ca643c4672a377ec1dfe9.zip | |
update to trunk
(bzr r11950.1.107)
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index f2b9fb02a..72ddd90a9 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -332,6 +332,10 @@ void ClipboardManagerImpl::copySymbol(Inkscape::XML::Node* symbol, gchar const* use->setAttribute("style", style ); _root->appendChild(use); + // This min and max sets offsets, we don't have any so set to zero. + sp_repr_set_point(_clipnode, "min", Geom::Point(0,0)); + sp_repr_set_point(_clipnode, "max", Geom::Point(0,0)); + fit_canvas_to_drawing(_clipboardSPDoc); _setClipboardTargets(); } @@ -767,14 +771,6 @@ void ClipboardManagerImpl::_copyUsedDefs(SPItem *item) } } - // Copy symbols: We may want to be more clever... - // if (SP_IS_USE(item)) { - // SPObject *symbol = SP_USE(item)->child; - // if( symbol && SP_IS_SYMBOL(symbol) ) { - // _copyNode(symbol->getRepr(), _doc, _defs); - // } - // } - // recurse for (SPObject *o = item->children ; o != NULL ; o = o->next) { if (SP_IS_ITEM(o)) { |
