diff options
author | David Robillard <d@drobilla.net> | 2007-08-05 02:58:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-08-05 02:58:23 +0000 |
commit | 66605036825e32783d1b47ade28aa1133a2b11aa (patch) | |
tree | 9a7af2415f579765f0d0228cb03c7d86d32c0399 /src/Patchage.cpp | |
parent | 16b683538fc95eb14dee8af971b6aa020f4937e0 (diff) | |
download | patchage-66605036825e32783d1b47ade28aa1133a2b11aa.tar.gz patchage-66605036825e32783d1b47ade28aa1133a2b11aa.tar.bz2 patchage-66605036825e32783d1b47ade28aa1133a2b11aa.zip |
Clean up toolbar.
git-svn-id: http://svn.drobilla.net/lad/patchage@676 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 4c7959b..a52e9f2 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -152,8 +152,9 @@ Patchage::Patchage(int argc, char** argv) xml->get_widget("view_toolbar_menuitem", _menu_view_toolbar); xml->get_widget("help_about_menuitem", _menu_help_about); xml->get_widget("toolbar", _toolbar); + xml->get_widget("toolbars_hbox", _toolbars_box); xml->get_widget("canvas_scrolledwindow", _canvas_scrolledwindow); - xml->get_widget("zoom_scale", _zoom_slider); + //xml->get_widget("zoom_scale", _zoom_slider); xml->get_widget("status_text", _status_text); xml->get_widget("main_paned", _main_paned); xml->get_widget("messages_expander", _messages_expander); @@ -179,7 +180,7 @@ Patchage::Patchage(int argc, char** argv) _canvas->scroll_to(static_cast<int>(_canvas->width()/2 - 320), static_cast<int>(_canvas->height()/2 - 240)); // FIXME: hardcoded - _zoom_slider->signal_value_changed().connect(sigc::mem_fun(this, &Patchage::zoom_changed)); + //_zoom_slider->signal_value_changed().connect(sigc::mem_fun(this, &Patchage::zoom_changed)); //_jack_connect_toggle->signal_toggled().connect(sigc::mem_fun(this, &Patchage::jack_connect_changed)); @@ -428,7 +429,7 @@ Patchage::zoom_changed() static bool enable_signal = true; if (enable_signal) { enable_signal = false; - zoom(_zoom_slider->get_value()); + //zoom(_zoom_slider->get_value()); enable_signal = true; } } @@ -727,9 +728,9 @@ Patchage::view_toolbar_toggled() _update_pane_position = false; if (_menu_view_toolbar->get_active()) - _toolbar->show(); + _toolbars_box->show(); else - _toolbar->hide(); + _toolbars_box->hide(); _update_pane_position = true; } |