summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0466b88)
raw | patch | inline | side by side (parent: 0466b88)
author | joncruz <joncruz@users.sourceforge.net> | |
Wed, 29 Mar 2006 03:18:33 +0000 (03:18 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Wed, 29 Mar 2006 03:18:33 +0000 (03:18 +0000) |
ChangeLog | patch | blob | history | |
src/dialogs/swatches.cpp | patch | blob | history | |
src/interface.cpp | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 304e61651b6dd6f80d9d767a7faecc1e470fd4e5..8d013d38e41e6162264a737cbeab59066e80aef3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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)
--- 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 c913d1122c44e85f68b770f363de208f73a14137..3ff25c8fbf03ba213148e8124c010a12b268852c 100644 (file)
--- a/src/interface.cpp
+++ b/src/interface.cpp
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();