diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/GraphBox.cpp | 4 | ||||
-rw-r--r-- | src/gui/GraphView.cpp | 4 | ||||
-rw-r--r-- | src/gui/ingen_gui.ui | 2 |
3 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/GraphBox.cpp b/src/gui/GraphBox.cpp index 7c8e4c1f..eaa98ee9 100644 --- a/src/gui/GraphBox.cpp +++ b/src/gui/GraphBox.cpp @@ -264,9 +264,7 @@ GraphBox::set_graph(SPtr<const GraphModel> graph, graph->signal_property().connect( sigc::mem_fun(this, &GraphBox::property_changed)); - if (_view->canvas()->supports_sprung_layout()) { - _menu_sprung_layout->set_active(true); - } else { + if (!_view->canvas()->supports_sprung_layout()) { _menu_sprung_layout->set_active(false); _menu_sprung_layout->set_sensitive(false); } diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index 48056f56..70ba4073 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -86,10 +86,6 @@ GraphView::set_graph(SPtr<const GraphModel> graph) _poly_spin->set_increments(1, 4); _poly_spin->set_value(graph->internal_poly()); - if (ganv_canvas_supports_sprung_layout(_canvas->gobj())) { - ganv_canvas_set_sprung_layout(_canvas->gobj(), TRUE); - } - for (const auto& p : graph->properties()) property_changed(p.first, p.second); diff --git a/src/gui/ingen_gui.ui b/src/gui/ingen_gui.ui index 1a61bdb7..eb3f2684 100644 --- a/src/gui/ingen_gui.ui +++ b/src/gui/ingen_gui.ui @@ -1021,7 +1021,7 @@ Contributors: <property name="can_focus">False</property> <property name="label" translatable="yes">Sprung Layou_t</property> <property name="use_underline">True</property> - <property name="active">True</property> + <property name="active">False</property> <accelerator key="t" signal="activate" modifiers="GDK_CONTROL_MASK"/> </object> </child> |