diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-20 03:03:15 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-01-20 03:03:15 +0000 |
commit | 06d3bd1cb0747d05d409b24d2cd0e6aa3c09a930 (patch) | |
tree | 0279648935aa67558692b7ee686965c421b98813 /gtk2_ardour/editor.cc | |
parent | e1ad4e0a532b10e78b6286537e8b0ec1142fcf6b (diff) |
make F11 take us fullscreen (bug remains in edit pane position restore); reduce track controls area width
git-svn-id: svn://localhost/trunk/ardour2@281 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index fb80907441..0ae2ad94fb 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -675,7 +675,7 @@ Editor::Editor (AudioEngine& eng) notebook_tearoff->tearoff_window().set_size_request (200, 400); edit_pane.pack1 (edit_frame, true, true); - edit_pane.pack2 (*notebook_tearoff, true, true); + edit_pane.pack2 (*notebook_tearoff, false, true); edit_pane.signal_size_allocate().connect_notify (bind (mem_fun(*this, &Editor::pane_allocation_handler), static_cast<Paned*> (&edit_pane))); @@ -2872,7 +2872,6 @@ Editor::convert_drop_to_paths (vector<string>& paths, if ((*i).substr (0,7) == "file://") { string p = *i; url_decode (p); - cerr << "adding " << p << endl; paths.push_back (p.substr (7)); } } @@ -3920,12 +3919,8 @@ Editor::snapshot_display_selection_changed () TreeModel::iterator i = snapshot_display.get_selection()->get_selected(); - cerr << "snapshot selected\n"; - Glib::ustring snap_name = (*i)[snapshot_display_columns.real_name]; - cerr << "name is " << snap_name << endl; - if (snap_name.length() == 0) { return; } @@ -3984,6 +3979,8 @@ Editor::maximise_editing_space () pre_maximal_pane_position = edit_pane.get_position(); edit_pane.set_position (edit_pane.get_width()); + + fullscreen(); } void @@ -3992,4 +3989,6 @@ Editor::restore_editing_space () mouse_mode_tearoff->set_visible (true); tools_tearoff->set_visible (true); edit_pane.set_position (pre_maximal_pane_position); + + unfullscreen(); } |