summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/align-and-distribute.h
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-08-28 01:48:54 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-08-28 01:48:54 +0000
commit7f67c57da5884d9bf1c44799b29ba9017cb0ac53 (patch)
tree61d2860b6fe48f4b5cc37d05fc465cfd8dbb9eb1 /src/ui/dialog/align-and-distribute.h
parentFix for 525597 : Undo History dialog not updating when switching windows (diff)
downloadinkscape-7f67c57da5884d9bf1c44799b29ba9017cb0ac53.tar.gz
inkscape-7f67c57da5884d9bf1c44799b29ba9017cb0ac53.zip
Fix for 1042500 : Align and Distribute dialog when floating doesnt work on active doc
(bzr r11625)
Diffstat (limited to 'src/ui/dialog/align-and-distribute.h')
-rw-r--r--src/ui/dialog/align-and-distribute.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/dialog/align-and-distribute.h b/src/ui/dialog/align-and-distribute.h
index 7e649834e..969703807 100644
--- a/src/ui/dialog/align-and-distribute.h
+++ b/src/ui/dialog/align-and-distribute.h
@@ -22,6 +22,7 @@
#include <gtkmm/comboboxtext.h>
#include <gtkmm/label.h>
#include "2geom/rect.h"
+#include "ui/dialog/desktop-tracker.h"
#if WITH_GTKMM_3_0
#include <gtkmm/checkbutton.h>
@@ -108,6 +109,7 @@ protected:
void addBaselineButton(const Glib::ustring &id, const Glib::ustring tiptext,
guint row, guint col, Gtk::Table &table, Geom::Dim2 orientation, bool distribute);
#endif
+ void setTargetDesktop(SPDesktop *desktop);
std::list<Action *> _actionList;
UI::Widget::Frame _alignFrame, _distributeFrame, _rearrangeFrame, _removeOverlapFrame, _nodesFrame;
@@ -129,6 +131,10 @@ protected:
Gtk::CheckButton _selgrp;
Gtk::ComboBoxText _combo;
+ SPDesktop *_desktop;
+ DesktopTracker _deskTrack;
+ sigc::connection _desktopChangeConn;
+
private:
AlignAndDistribute(AlignAndDistribute const &d);
AlignAndDistribute& operator=(AlignAndDistribute const &d);