summaryrefslogtreecommitdiff
path: root/gtk2_ardour/search_path_option.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-11-10 14:49:46 +0000
committerCarl Hetherington <carl@carlh.net>2010-11-10 14:49:46 +0000
commit4d5f26902dd366cfde94ce6d3006cb8ea247a061 (patch)
treeddb8e367799aaeaadde3daaee62eaa439c8aaec6 /gtk2_ardour/search_path_option.cc
parent4499c64d354c556eecb22a890a0d25186efe8694 (diff)
Tidy up a couple of bits in the session option editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@7992 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/search_path_option.cc')
-rw-r--r--gtk2_ardour/search_path_option.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/search_path_option.cc b/gtk2_ardour/search_path_option.cc
index eff991081b..8104de3801 100644
--- a/gtk2_ardour/search_path_option.cc
+++ b/gtk2_ardour/search_path_option.cc
@@ -35,7 +35,7 @@ SearchPathOption::SearchPathOption (const string& pathname, const string& label,
hbox->set_border_width (12);
hbox->set_spacing (6);
- hbox->pack_end (add_chooser, false, false);
+ hbox->pack_end (add_chooser, true, true);
hbox->pack_end (*manage (new Label ("Click to add a new location")), false, false);
hbox->show_all ();
@@ -68,14 +68,14 @@ void
SearchPathOption::add_to_page (OptionEditorPage* p)
{
int const n = p->table.property_n_rows();
- p->table.resize (n + 2, 3);
+ p->table.resize (n + 1, 3);
Label* label = manage (new Label);
- label->set_alignment (0.0, 0.5);
- label->set_markup (string_compose ("<b>%1</b>", _name));
+ label->set_alignment (0.0, 0.0);
+ label->set_markup (string_compose ("%1", _name));
- p->table.attach (*label, 0, 1, n, n + 1, FILL | EXPAND);
- p->table.attach (vbox, 0, 3, n + 1, n + 2, FILL | EXPAND);
+ p->table.attach (*label, 1, 2, n, n + 1, FILL | EXPAND);
+ p->table.attach (vbox, 2, 3, n, n + 1, FILL | EXPAND);
}
void