diff options
| author | MenTaLguY <mental@rydia.net> | 2008-03-07 22:18:56 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2008-03-07 22:18:56 +0000 |
| commit | 31acc450aa0320ab82f5075adf8afbcae0763e6d (patch) | |
| tree | ef45a9eeb5a7baa754176307396a2837bca879e0 /src/dialogs | |
| parent | Fix #include (diff) | |
| download | inkscape-31acc450aa0320ab82f5075adf8afbcae0763e6d.tar.gz inkscape-31acc450aa0320ab82f5075adf8afbcae0763e6d.zip | |
add basic support for preserving processing instructions in the AST
(bzr r4987)
Diffstat (limited to 'src/dialogs')
| -rw-r--r-- | src/dialogs/xml-tree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/xml-tree.cpp b/src/dialogs/xml-tree.cpp index 6da0096e2..a9db979d6 100644 --- a/src/dialogs/xml-tree.cpp +++ b/src/dialogs/xml-tree.cpp @@ -772,7 +772,7 @@ void propagate_tree_select(Inkscape::XML::Node *repr) sp_xmlview_attr_list_set_repr(attributes, NULL); } - if (repr && ( repr->type() == Inkscape::XML::TEXT_NODE || repr->type() == Inkscape::XML::COMMENT_NODE ) ) { + if (repr && ( repr->type() == Inkscape::XML::TEXT_NODE || repr->type() == Inkscape::XML::COMMENT_NODE || repr->type() == Inkscape::XML::PI_NODE ) ) { sp_xmlview_content_set_repr(content, repr); } else { sp_xmlview_content_set_repr(content, NULL); @@ -986,7 +986,7 @@ void on_tree_select_row_show_if_text(GtkCTree *tree, GtkCTreeNode *node, { Inkscape::XML::Node *repr = sp_xmlview_tree_node_get_repr(SP_XMLVIEW_TREE(tree), node); - if ( repr->type() == Inkscape::XML::TEXT_NODE || repr->type() == Inkscape::XML::COMMENT_NODE ) { + if ( repr->type() == Inkscape::XML::TEXT_NODE || repr->type() == Inkscape::XML::COMMENT_NODE || repr->type() == Inkscape::XML::PI_NODE ) { gtk_widget_show(GTK_WIDGET(data)); } else { gtk_widget_hide(GTK_WIDGET(data)); |
