diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | src/dialogs/swatches.cpp | 4 | ||||
| -rw-r--r-- | src/interface.cpp | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2006-03-28 Jon A. Cruz <jon@joncruz.org> + + * src/interface.cpp, src/dialogs/swatches.cpp: + + Fixing name of temporary non-standard tag attributes. + 2006-03-28 MenTaLguY <mental@rydia.net> * src/layer-manager.cpp, src/layer-manager.h: draft of layer manager diff --git a/src/dialogs/swatches.cpp b/src/dialogs/swatches.cpp index 8d81c3b99..ab4fa35ad 100644 --- a/src/dialogs/swatches.cpp +++ b/src/dialogs/swatches.cpp @@ -300,7 +300,7 @@ static bool bruteForce( SPDocument* document, Inkscape::XML::Node* node, Glib::u bool changed = false; if ( node ) { - gchar const * val = node->attribute("HOTFill"); + gchar const * val = node->attribute("inkscape:x-fill-tag"); if ( val && (match == val) ) { SPObject *obj = document->getObjectByRepr( node ); @@ -315,7 +315,7 @@ static bool bruteForce( SPDocument* document, Inkscape::XML::Node* node, Glib::u changed = true; } - val = node->attribute("HOTStroke"); + val = node->attribute("inkscape:x-stroke-tag"); if ( val && (match == val) ) { SPObject *obj = document->getObjectByRepr( node ); diff --git a/src/interface.cpp b/src/interface.cpp index c913d1122..3ff25c8fb 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -1023,7 +1023,7 @@ sp_ui_drag_data_received(GtkWidget *widget, str = 0; sp_object_setAttribute( SP_OBJECT(item), - (drag_context->action != GDK_ACTION_MOVE) ? "HOTFill":"HOTStroke", + (drag_context->action != GDK_ACTION_MOVE) ? "inkscape:x-fill-tag":"inkscape:x-stroke-tag", palName.c_str(), false ); item->updateRepr(); |
