Code

Renaming temp non-standard attributes
authorjoncruz <joncruz@users.sourceforge.net>
Wed, 29 Mar 2006 03:18:33 +0000 (03:18 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Wed, 29 Mar 2006 03:18:33 +0000 (03:18 +0000)
ChangeLog
src/dialogs/swatches.cpp
src/interface.cpp

index 304e61651b6dd6f80d9d767a7faecc1e470fd4e5..8d013d38e41e6162264a737cbeab59066e80aef3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 8d81c3b99a6e843cfe56f5741706b081d4e1ccfd..ab4fa35ad65dd969ae1a638fbbfb51f733029add 100644 (file)
@@ -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 );
 
index c913d1122c44e85f68b770f363de208f73a14137..3ff25c8fbf03ba213148e8124c010a12b268852c 100644 (file)
@@ -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();