diff options
author | David Robillard <d@drobilla.net> | 2007-10-03 19:23:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-03 19:23:35 +0000 |
commit | 8a0cf9b3d1111e31ef609b80a37f57c738f3e44b (patch) | |
tree | 11d1c1b8246b0f8b73a0dc82dfc917ee3f98469e /src | |
parent | c800f22fd0692b9c4ae62ae6c3fae7f8c3cb3070 (diff) | |
download | ingen-8a0cf9b3d1111e31ef609b80a37f57c738f3e44b.tar.gz ingen-8a0cf9b3d1111e31ef609b80a37f57c738f3e44b.tar.bz2 ingen-8a0cf9b3d1111e31ef609b80a37f57c738f3e44b.zip |
Always hide toolbar text.
git-svn-id: http://svn.drobilla.net/lad/ingen@810 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/gui/PatchView.cpp | 3 | ||||
-rw-r--r-- | src/libs/gui/PatchView.hpp | 1 | ||||
-rw-r--r-- | src/libs/gui/ingen_gui.glade | 2 |
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> |