summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_ui.cc
diff options
context:
space:
mode:
authorNick Mainsbridge <beatroute@iprimus.com.au>2006-04-19 20:42:17 +0000
committerNick Mainsbridge <beatroute@iprimus.com.au>2006-04-19 20:42:17 +0000
commit8ca561f8d322d237d7aaa74ebf82f6892064da94 (patch)
tree18b1f4b4b419477e130826c7063404a551828e4f /gtk2_ardour/plugin_ui.cc
parentc1be7a630a55ae0b9e32335448d7a77173fbfec4 (diff)
Change ArdourPrompter to not have an OK button by default, clean up new track/bus dialog and change 'affirmative' button on ArdourPrompter dialogs, make 'jack isn't running' dialog a MessageDialog, standardise some capitalisation, add stock buttons to plugin selector, fix layout of presets in plugin_ui. Fix 'rename range' dialog.
git-svn-id: svn://localhost/trunk/ardour2@458 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r--gtk2_ardour/plugin_ui.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc
index fd4c91ff80..423b0c0b82 100644
--- a/gtk2_ardour/plugin_ui.cc
+++ b/gtk2_ardour/plugin_ui.cc
@@ -135,14 +135,14 @@ PluginUI::PluginUI (AudioEngine &engine, PluginInsert& pi, bool scrollable)
HBox* constraint_hbox = manage (new HBox);
HBox* smaller_hbox = manage (new HBox);
- Label* combo_label = manage (new Label (_("<span size=\"large\" weight=\"bold\">Presets</span>")));
+ Label* combo_label = manage (new Label (_("<span size=\"large\">Presets</span>")));
combo_label->set_use_markup (true);
smaller_hbox->pack_start (*combo_label, false, false, 10);
smaller_hbox->pack_start (combo, false, false);
smaller_hbox->pack_start (save_button, false, false);
- constraint_hbox->set_spacing (10);
+ constraint_hbox->set_spacing (5);
constraint_hbox->pack_start (*smaller_hbox, true, false);
constraint_hbox->pack_end (bypass_button, false, false);
@@ -226,6 +226,7 @@ PluginUI::build (AudioEngine &engine)
frame = manage (new Frame);
frame->set_name ("BaseFrame");
+ frame->set_label (_("Controls"));
frame->add (*box);
hpacker.pack_start(*frame, true, true);
@@ -828,11 +829,12 @@ PluginUI::setup_scale_values(guint32 port_index, ControlUI* cui)
PlugUIBase::PlugUIBase (PluginInsert& pi)
: insert (pi),
plugin (insert.plugin()),
- save_button(_("save")),
- bypass_button (_("bypass"))
+ save_button(_("Add")),
+ bypass_button (_("Bypass"))
{
//combo.set_use_arrows_always(true);
set_popdown_strings (combo, plugin.get_presets());
+ combo.set_size_request (100, -1);
combo.set_active_text ("");
combo.signal_changed().connect(mem_fun(*this, &PlugUIBase::setting_selected));
@@ -858,7 +860,8 @@ void
PlugUIBase::save_plugin_setting ()
{
ArdourPrompter prompter (true);
- prompter.set_prompt(_("Name for plugin settings:"));
+ prompter.set_prompt(_("Name of New Preset:"));
+ prompter.add_button (Gtk::Stock::ADD, Gtk::RESPONSE_ACCEPT);
prompter.show_all();