summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/xml-tree.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-12-24 16:29:36 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-12-26 11:46:57 +0000
commit175e906e69dfcc66ba2e67675e4bc120b8b08d94 (patch)
tree6e3b81e065f2eb44434b9e51323e6cba2a29dcbc /src/ui/dialog/xml-tree.cpp
parentfix CNakeLists.txt (diff)
downloadinkscape-175e906e69dfcc66ba2e67675e4bc120b8b08d94.tar.gz
inkscape-175e906e69dfcc66ba2e67675e4bc120b8b08d94.zip
Add status to attribute widget
Diffstat (limited to 'src/ui/dialog/xml-tree.cpp')
-rw-r--r--src/ui/dialog/xml-tree.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp
index 488bc8246..4a1a2d550 100644
--- a/src/ui/dialog/xml-tree.cpp
+++ b/src/ui/dialog/xml-tree.cpp
@@ -90,7 +90,6 @@ XmlTree::XmlTree() :
status.set_markup("");
status.set_line_wrap(true);
status_box.pack_start( status, TRUE, TRUE, 0);
- contents->pack_end(status_box, false, false, 2);
contents->pack_start(*flowbox_content, true, true, 0);
@@ -179,6 +178,8 @@ XmlTree::XmlTree() :
node_box.pack_start(*tree_scroller);
+ node_box.pack_end(status_box, false, false, 2);
+
/* attributes */
attributes = new AttrDialog;
attr_box.pack_start(*attributes);
@@ -250,22 +251,6 @@ void XmlTree::tree_reset_context()
}
-/**
- * Sets the XML status bar, depending on which attr is selected.
- */
-void XmlTree::attr_reset_context(gint attr)
-{
- if (attr == 0) {
- _message_context->set(Inkscape::NORMAL_MESSAGE,
- _("<b>Click</b> attribute to edit."));
- }
- else {
- const gchar *name = g_quark_to_string(attr);
- _message_context->setF(Inkscape::NORMAL_MESSAGE,
- _("Attribute <b>%s</b> selected. Press <b>Ctrl+Enter</b> when done editing to commit changes."), name);
- }
-}
-
void XmlTree::set_tree_desktop(SPDesktop *desktop)
{
if ( desktop == current_desktop ) {