summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/GraphView.cpp8
-rw-r--r--src/gui/GraphView.hpp4
-rw-r--r--src/gui/ingen_gui.ui26
3 files changed, 0 insertions, 38 deletions
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp
index 737b0a3a..7b2e9842 100644
--- a/src/gui/GraphView.cpp
+++ b/src/gui/GraphView.cpp
@@ -51,8 +51,6 @@ GraphView::GraphView(BaseObjectType* cobject,
xml->get_widget("graph_view_poly_spin", _poly_spin);
xml->get_widget("graph_view_refresh_but", _refresh_but);
xml->get_widget("graph_view_save_but", _save_but);
- xml->get_widget("graph_view_zoom_full_but", _zoom_full_but);
- xml->get_widget("graph_view_zoom_normal_but", _zoom_normal_but);
xml->get_widget("graph_view_scrolledwindow", _canvas_scrolledwindow);
_toolbar->set_toolbar_style(Gtk::TOOLBAR_ICONS);
@@ -96,12 +94,6 @@ GraphView::set_graph(SPtr<const GraphModel> graph)
_refresh_but->signal_clicked().connect(
sigc::mem_fun(this, &GraphView::refresh_clicked));
- _zoom_normal_but->signal_clicked().connect(sigc::bind(sigc::mem_fun(
- _canvas.get(), &GraphCanvas::set_zoom), 1.0));
-
- _zoom_full_but->signal_clicked().connect(
- sigc::mem_fun(_canvas.get(), &GraphCanvas::zoom_full));
-
_poly_spin->signal_value_changed().connect(
sigc::mem_fun(*this, &GraphView::poly_changed));
diff --git a/src/gui/GraphView.hpp b/src/gui/GraphView.hpp
index dbf81eed..b052028c 100644
--- a/src/gui/GraphView.hpp
+++ b/src/gui/GraphView.hpp
@@ -78,8 +78,6 @@ private:
void property_changed(const Raul::URI& predicate, const Atom& value);
- void zoom_full();
-
App* _app;
SPtr<const Client::GraphModel> _graph;
@@ -91,8 +89,6 @@ private:
Gtk::SpinButton* _poly_spin;
Gtk::ToolButton* _refresh_but;
Gtk::ToolButton* _save_but;
- Gtk::ToolButton* _zoom_normal_but;
- Gtk::ToolButton* _zoom_full_but;
Gtk::ToolItem* _breadcrumb_container;
bool _enable_signal;
diff --git a/src/gui/ingen_gui.ui b/src/gui/ingen_gui.ui
index 5fb523bf..774127d4 100644
--- a/src/gui/ingen_gui.ui
+++ b/src/gui/ingen_gui.ui
@@ -2867,32 +2867,6 @@ Contributors:
<property name="homogeneous">True</property>
</packing>
</child>
- <child>
- <object class="GtkToolButton" id="graph_view_zoom_normal_but">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="use_underline">True</property>
- <property name="stock_id">gtk-zoom-100</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="graph_view_zoom_full_but">
- <property name="use_action_appearance">False</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="use_underline">True</property>
- <property name="stock_id">gtk-zoom-fit</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
</object>
<packing>
<property name="expand">False</property>