summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchCanvas.cpp4
-rw-r--r--src/gui/PatchCanvas.hpp2
-rw-r--r--src/gui/PatchWindow.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp
index 69cb0414..2a406191 100644
--- a/src/gui/PatchCanvas.cpp
+++ b/src/gui/PatchCanvas.cpp
@@ -278,9 +278,9 @@ PatchCanvas::build()
void
-PatchCanvas::arrange(bool ingen_doesnt_use_length_hints)
+PatchCanvas::arrange(bool use_length_hints, bool center)
{
- FlowCanvas::Canvas::arrange(false);
+ FlowCanvas::Canvas::arrange(false, center);
for (list<boost::shared_ptr<Item> >::iterator i = _items.begin(); i != _items.end(); ++i)
(*i)->store_location();
diff --git a/src/gui/PatchCanvas.hpp b/src/gui/PatchCanvas.hpp
index e4cfd1a8..9aa0eacf 100644
--- a/src/gui/PatchCanvas.hpp
+++ b/src/gui/PatchCanvas.hpp
@@ -61,7 +61,7 @@ public:
virtual ~PatchCanvas() {}
void build();
- void arrange(bool use_length_hints);
+ void arrange(bool use_length_hints, bool center);
void show_human_names(bool show);
void show_port_names(bool show);
bool show_port_names() const { return _show_port_names; }
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index 39544808..c4e7a39a 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -644,7 +644,7 @@ PatchWindow::event_quit()
void
PatchWindow::event_arrange()
{
- _view->canvas()->arrange(false);
+ _view->canvas()->arrange(false, false);
}