From 77c9f5d809c29219ce53ae9531e5fcae1705485b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Oct 2011 15:48:53 +0000 Subject: Hide documentation pane on initial show. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3518 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchWindow.cpp | 4 ++-- src/gui/PatchWindow.hpp | 1 - src/gui/ingen_gui.ui | 15 ++++----------- 3 files changed, 6 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index 6e40e257..2fff6f81 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -107,7 +107,6 @@ PatchWindow::PatchWindow(BaseObjectType* cobject, xml->get_widget("patch_help_about_menuitem", _menu_help_about); xml->get_widget("patch_documentation_paned", _doc_paned); xml->get_widget("patch_documentation_scrolledwindow", _doc_scrolledwindow); - xml->get_widget("patch_documentation_textview", _doc_textview); _menu_view_control_window->property_sensitive() = false; string engine_name = App::instance().engine()->uri().str(); @@ -276,7 +275,8 @@ PatchWindow::set_patch(SharedPtr patch, removed_port_connection = patch->signal_editable().connect( sigc::mem_fun(this, &PatchWindow::editable_changed)); - show_all(); + show(); + _alignment->show_all(); _view->signal_object_entered.connect(sigc::mem_fun(this, &PatchWindow::object_entered)); _view->signal_object_left.connect(sigc::mem_fun(this, &PatchWindow::object_left)); diff --git a/src/gui/PatchWindow.hpp b/src/gui/PatchWindow.hpp index 2223df70..fb58e337 100644 --- a/src/gui/PatchWindow.hpp +++ b/src/gui/PatchWindow.hpp @@ -156,7 +156,6 @@ private: Gtk::HPaned* _doc_paned; Gtk::ScrolledWindow* _doc_scrolledwindow; - Gtk::TextView* _doc_textview; sigc::connection _entered_connection; sigc::connection _left_connection; diff --git a/src/gui/ingen_gui.ui b/src/gui/ingen_gui.ui index 212497f8..5ba80d7a 100644 --- a/src/gui/ingen_gui.ui +++ b/src/gui/ingen_gui.ui @@ -2182,27 +2182,20 @@ Contributors: - False - True + True + False - True True in - - True - True - False - word - False - + - True + False True -- cgit v1.2.1