summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/xml-tree.h
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2018-09-14 16:58:18 +0000
committerMartin Owens <doctormo@gmail.com>2018-09-14 16:58:18 +0000
commitb92e577ea62c2a94ba38390fa67d9dcea3db88af (patch)
tree3b48af7caf1e7fd14fd0015f6113a6545f11e9b7 /src/ui/dialog/xml-tree.h
parentMerge branch 'master' of gitlab.com:jordim/inkscape (diff)
downloadinkscape-b92e577ea62c2a94ba38390fa67d9dcea3db88af.tar.gz
inkscape-b92e577ea62c2a94ba38390fa67d9dcea3db88af.zip
Remove sp-xmlview-attr with attrdialog (C++) and improve interface
Diffstat (limited to 'src/ui/dialog/xml-tree.h')
-rw-r--r--src/ui/dialog/xml-tree.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/dialog/xml-tree.h b/src/ui/dialog/xml-tree.h
index 2eff808ef..d5049bb84 100644
--- a/src/ui/dialog/xml-tree.h
+++ b/src/ui/dialog/xml-tree.h
@@ -27,6 +27,7 @@
#include <gtkmm/paned.h>
#include <gtkmm/button.h>
+#include "ui/dialog/attrdialog.h"
#include "ui/dialog/cssdialog.h"
#include "ui/dialog/desktop-tracker.h"
#include "message.h"
@@ -125,17 +126,17 @@ private:
/**
* Callback when a node is moved in the tree
*/
- static void after_tree_move(SPXMLViewTree *attributes, gpointer value, gpointer data);
+ static void after_tree_move(SPXMLViewTree *tree, gpointer value, gpointer data);
/**
* Callback for when an attribute is edited.
*/
- static void on_attr_edited(SPXMLViewAttrList *attributes, const gchar * name, const gchar * value, gpointer /*data*/);
+ //static void on_attr_edited(SPXMLViewAttrList *attributes, const gchar * name, const gchar * value, gpointer /*data*/);
/**
* Callback for when attribute list values change
*/
- static void on_attr_row_changed(SPXMLViewAttrList *attributes, const gchar * name, gpointer data);
+ //static void on_attr_row_changed(SPXMLViewAttrList *attributes, const gchar * name, gpointer data);
/**
* Enable widgets based on current selections
@@ -216,7 +217,8 @@ private:
/* XmlTree Widgets */
SPXMLViewTree *tree;
- SPXMLViewAttrList *attributes;
+ //SPXMLViewAttrList *attributes;
+ AttrDialog *attributes;
CssDialog *styles;
/* XML Node Creation pop-up window */