summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-01 15:48:53 +0000
committerDavid Robillard <d@drobilla.net>2011-10-01 15:48:53 +0000
commit77c9f5d809c29219ce53ae9531e5fcae1705485b (patch)
treeb409482ab00f66b8d8f20d05c4cb8045ce89e5a4 /src
parent0b5e66d26f571cadd9ca8329fb4ff1ac6baf4989 (diff)
downloadingen-77c9f5d809c29219ce53ae9531e5fcae1705485b.tar.gz
ingen-77c9f5d809c29219ce53ae9531e5fcae1705485b.tar.bz2
ingen-77c9f5d809c29219ce53ae9531e5fcae1705485b.zip
Hide documentation pane on initial show.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3518 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/PatchWindow.cpp4
-rw-r--r--src/gui/PatchWindow.hpp1
-rw-r--r--src/gui/ingen_gui.ui15
3 files changed, 6 insertions, 14 deletions
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<const PatchModel> 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:
</child>
</object>
<packing>
- <property name="resize">False</property>
- <property name="shrink">True</property>
+ <property name="resize">True</property>
+ <property name="shrink">False</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="patch_documentation_scrolledwindow">
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<child>
- <object class="GtkTextView" id="patch_documentation_textview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">False</property>
- <property name="wrap_mode">word</property>
- <property name="cursor_visible">False</property>
- </object>
+ <placeholder/>
</child>
</object>
<packing>
- <property name="resize">True</property>
+ <property name="resize">False</property>
<property name="shrink">True</property>
</packing>
</child>