diff options
| author | Martin Owens <doctormo@gmail.com> | 2018-09-12 17:43:33 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2018-09-12 17:43:33 +0000 |
| commit | 0b349b031cad19135fbdf5a62dab96481437de08 (patch) | |
| tree | 70070a8a8c6424f77bfcffcb69c1ff931342eccc /src/ui/dialog/xml-tree.cpp | |
| parent | Remove colors from gtklistview (diff) | |
| download | inkscape-0b349b031cad19135fbdf5a62dab96481437de08.tar.gz inkscape-0b349b031cad19135fbdf5a62dab96481437de08.zip | |
Add detachable, although no evidence it works
Diffstat (limited to 'src/ui/dialog/xml-tree.cpp')
| -rw-r--r-- | src/ui/dialog/xml-tree.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp index 1a39af095..e62f0232d 100644 --- a/src/ui/dialog/xml-tree.cpp +++ b/src/ui/dialog/xml-tree.cpp @@ -101,6 +101,7 @@ XmlTree::XmlTree() : /* tree view */ notebook_content->insert_page(node_box, _("_Nodes"), NOTEBOOK_PAGE_NODES, true); + notebook_content->set_tab_detachable(node_box, true); tree = SP_XMLVIEW_TREE(sp_xmlview_tree_new(nullptr, nullptr, nullptr)); gtk_widget_set_tooltip_text( GTK_WIDGET(tree), _("Drag to reorder nodes") ); @@ -182,6 +183,7 @@ XmlTree::XmlTree() : /* node view */ notebook_content->insert_page(attr_box, _("_Attributes"), NOTEBOOK_PAGE_ATTRS, true); + notebook_content->set_tab_detachable(attr_box, true); /* attributes */ attributes = SP_XMLVIEW_ATTR_LIST(sp_xmlview_attr_list_new(nullptr)); @@ -214,6 +216,7 @@ XmlTree::XmlTree() : styles = new CssDialog; css_box.pack_start(*styles); notebook_content->insert_page(css_box, _("_Styles"), NOTEBOOK_PAGE_STYLES, true); + notebook_content->set_tab_detachable(css_box, true); desktopChangeConn = deskTrack.connectDesktopChanged( sigc::mem_fun(*this, &XmlTree::set_tree_desktop) ); deskTrack.connect(GTK_WIDGET(gobj())); |
