summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fab406b)
raw | patch | inline | side by side (parent: fab406b)
author | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 5 Dec 2007 22:00:27 +0000 (22:00 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 5 Dec 2007 22:00:27 +0000 (22:00 +0000) |
src/node-context.cpp | patch | blob | history | |
src/widgets/toolbox.cpp | patch | blob | history |
diff --git a/src/node-context.cpp b/src/node-context.cpp
index 1cac6f164651829e88a97815a351daf962d3ea99..3d11aefe4a39c303ba783e9e41aa1a11199ee04f 100644 (file)
--- a/src/node-context.cpp
+++ b/src/node-context.cpp
ec->enableGrDrag();
}
+ ec->desktop->emitToolSubselectionChanged(NULL); // sets the coord entry fields to inactive
+
nc->_node_message_context = new Inkscape::MessageContext((ec->desktop)->messageStack());
nc->shape_editor->update_statusbar();
index 43124a79e226084c8d922492a90f83900176d01b..c2c7ff8528566aeb7de8e569bc5c6923b5ee1c48 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
}
}
}
+ } else {
+ // no shape-editor or nodepath yet (when we just switched to the tool); coord entries must be inactive
+ gtk_action_set_sensitive(xact, FALSE);
+ gtk_action_set_sensitive(yact, FALSE);
}
g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );