From 937f26773f0021f5eb06593b9d6819b40c8792f8 Mon Sep 17 00:00:00 2001 From: joncruz Date: Wed, 29 Mar 2006 03:18:33 +0000 Subject: [PATCH] Renaming temp non-standard attributes --- ChangeLog | 6 ++++++ src/dialogs/swatches.cpp | 4 ++-- src/interface.cpp | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 304e61651..8d013d38e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-28 Jon A. Cruz + + * src/interface.cpp, src/dialogs/swatches.cpp: + + Fixing name of temporary non-standard tag attributes. + 2006-03-28 MenTaLguY * 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(); -- 2.30.2