summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/selectorsdialog.h
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-08-28 22:14:20 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-08-29 16:35:27 +0000
commita8d586f25d06ce66420f9d09fcaf959d7cbd3189 (patch)
tree86ea44da74e95373aeb22cf20658dbdc1eeabd2c /src/ui/dialog/selectorsdialog.h
parentDocument Properties Grid tab keeps current position (diff)
downloadinkscape-a8d586f25d06ce66420f9d09fcaf959d7cbd3189.tar.gz
inkscape-a8d586f25d06ce66420f9d09fcaf959d7cbd3189.zip
Noumerous bugfixes pointed in Rocket Chat
Diffstat (limited to 'src/ui/dialog/selectorsdialog.h')
-rw-r--r--src/ui/dialog/selectorsdialog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/dialog/selectorsdialog.h b/src/ui/dialog/selectorsdialog.h
index 66d9bb859..d304ccfad 100644
--- a/src/ui/dialog/selectorsdialog.h
+++ b/src/ui/dialog/selectorsdialog.h
@@ -55,9 +55,8 @@ class SelectorsDialog : public Widget::Panel {
SelectorsDialog();
SelectorsDialog(SelectorsDialog const &d) = delete;
SelectorsDialog operator=(SelectorsDialog const &d) = delete;
-
static SelectorsDialog &getInstance() { return *new SelectorsDialog(); }
-
+
private:
// Monitor <style> element for changes.
class NodeObserver;
@@ -119,6 +118,7 @@ class SelectorsDialog : public Widget::Panel {
Gtk::TreeView _treeView;
Gtk::TreeModel::Path _lastpath;
// Widgets
+ StyleDialog *_style_dialog;
Gtk::Paned _paned;
Glib::RefPtr<Gtk::Adjustment> _vadj;
Gtk::Box _button_box;
@@ -127,7 +127,6 @@ class SelectorsDialog : public Widget::Panel {
Gtk::Button _del;
Gtk::Button _create;
- StyleDialog *_style_dialog;
// Reading and writing the style element.
Inkscape::XML::Node *_getStyleTextNode();
void _readStyleElement();
@@ -154,9 +153,9 @@ class SelectorsDialog : public Widget::Panel {
void _selectObjects(int, int);
// Variables
- bool _updating; // Prevent cyclic actions: read <-> write, select via dialog <-> via desktop
double _scroolpos;
bool _scroollock;
+ bool _updating; // Prevent cyclic actions: read <-> write, select via dialog <-> via desktop
Inkscape::XML::Node *_textNode; // Track so we know when to add a NodeObserver.
// Signals and handlers - External
@@ -167,6 +166,7 @@ class SelectorsDialog : public Widget::Panel {
void _handleDocumentReplaced(SPDesktop* desktop, SPDocument *document);
void _handleDesktopChanged(SPDesktop* desktop);
void _handleSelectionChanged();
+ void _panedrealized();
void _rowExpand(const Gtk::TreeModel::iterator &iter, const Gtk::TreeModel::Path &path);
void _rowCollapse(const Gtk::TreeModel::iterator &iter, const Gtk::TreeModel::Path &path);
void _closeDialog(Gtk::Dialog *textDialogPtr);