summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/gui/PatchView.cpp3
-rw-r--r--src/libs/gui/PatchView.hpp1
-rw-r--r--src/libs/gui/ingen_gui.glade2
3 files changed, 5 insertions, 1 deletions
diff --git a/src/libs/gui/PatchView.cpp b/src/libs/gui/PatchView.cpp
index f0a885c5..c28e0fe5 100644
--- a/src/libs/gui/PatchView.cpp
+++ b/src/libs/gui/PatchView.cpp
@@ -43,6 +43,7 @@ PatchView::PatchView(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::X
property_visible() = false;
xml->get_widget("patch_view_breadcrumb_container", _breadcrumb_container);
+ xml->get_widget("patch_view_toolbar", _toolbar);
xml->get_widget("patch_view_process_but", _process_but);
xml->get_widget("patch_view_poly_spin", _poly_spin);
xml->get_widget("patch_view_clear_but", _clear_but);
@@ -53,6 +54,8 @@ PatchView::PatchView(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::X
xml->get_widget("patch_view_zoom_normal_but", _zoom_normal_but);
xml->get_widget("patch_view_edit_mode_but", _edit_mode_but);
xml->get_widget("patch_view_scrolledwindow", _canvas_scrolledwindow);
+
+ _toolbar->set_toolbar_style(Gtk::TOOLBAR_ICONS);
}
diff --git a/src/libs/gui/PatchView.hpp b/src/libs/gui/PatchView.hpp
index 7952ee72..dac708ca 100644
--- a/src/libs/gui/PatchView.hpp
+++ b/src/libs/gui/PatchView.hpp
@@ -85,6 +85,7 @@ private:
Gtk::ScrolledWindow* _canvas_scrolledwindow;
+ Gtk::Toolbar* _toolbar;
Gtk::ToggleToolButton* _process_but;
Gtk::SpinButton* _poly_spin;
Gtk::ToolButton* _clear_but;
diff --git a/src/libs/gui/ingen_gui.glade b/src/libs/gui/ingen_gui.glade
index fc33ddcf..e2e9d093 100644
--- a/src/libs/gui/ingen_gui.glade
+++ b/src/libs/gui/ingen_gui.glade
@@ -1312,7 +1312,7 @@
</widget>
</child>
<child>
- <widget class="GtkToolbar" id="toolbar3">
+ <widget class="GtkToolbar" id="patch_view_toolbar">
<property name="visible">True</property>
<property name="show_arrow">False</property>
<child>