diff --git a/gtk2_ardour/add_route_dialog.cc b/gtk2_ardour/add_route_dialog.cc index e0e5c70798..8837e9f468 100644 --- a/gtk2_ardour/add_route_dialog.cc +++ b/gtk2_ardour/add_route_dialog.cc @@ -56,6 +56,7 @@ AddRouteDialog::AddRouteDialog () , configuration_label (_("Configuration:")) , mode_label (_("Track mode:")) , instrument_label (_("Instrument:")) + , reasonable_synth_id(0) { set_name ("AddRouteDialog"); set_modal (true); @@ -82,7 +83,7 @@ AddRouteDialog::AddRouteDialog () build_instrument_list (); instrument_combo.set_model (instrument_list); instrument_combo.pack_start (instrument_list_columns.name); - instrument_combo.set_active (0); + instrument_combo.set_active (reasonable_synth_id); instrument_combo.set_button_sensitivity (Gtk::SENSITIVITY_AUTO); VBox* vbox = manage (new VBox); @@ -587,6 +588,7 @@ AddRouteDialog::build_instrument_list () row[instrument_list_columns.info_ptr] = PluginInfoPtr (); row[instrument_list_columns.name] = _("-none-"); + uint32_t n = 1; for (PluginInfoList::const_iterator i = all_plugs.begin(); i != all_plugs.end(); ++i) { if (manager.get_status (*i) == PluginManager::Hidden) continue; @@ -595,6 +597,10 @@ AddRouteDialog::build_instrument_list () row = *(instrument_list->append()); row[instrument_list_columns.name] = (*i)->name; row[instrument_list_columns.info_ptr] = *i; + if ((*i)->unique_id == "https://community.ardour.org/node/7596") { + reasonable_synth_id = n; + } + n++; } } } diff --git a/gtk2_ardour/add_route_dialog.h b/gtk2_ardour/add_route_dialog.h index 31b746ac76..7cd3307d48 100644 --- a/gtk2_ardour/add_route_dialog.h +++ b/gtk2_ardour/add_route_dialog.h @@ -122,6 +122,7 @@ class AddRouteDialog : public ArdourDialog InstrumentListColumns instrument_list_columns; void build_instrument_list (); + uint32_t reasonable_synth_id; }; #endif /* __gtk_ardour_add_route_dialog_h__ */ diff --git a/gtk2_ardour/ardour3_styles.rc.in b/gtk2_ardour/ardour3_styles.rc.in index 8b5b5e4c99..8314e9dc36 100644 --- a/gtk2_ardour/ardour3_styles.rc.in +++ b/gtk2_ardour/ardour3_styles.rc.in @@ -731,6 +731,19 @@ style "midi_track_base" = "default" bg[SELECTED] = @@COLPREFIX@_bg } +style "audio_track_fader" = "gain_fader" +{ + bg[PRELIGHT] = @@COLPREFIX@_audio_track +} +style "audio_bus_fader" = "gain_fader" +{ + bg[PRELIGHT] = @@COLPREFIX@_audio_bus +} +style "midi_track_fader" = "gain_fader" +{ + bg[PRELIGHT] = @@COLPREFIX@_midi_track +} + style "audio_track_metrics" = "audio_track_base" { font_name = "@FONT_TINY@" @@ -815,7 +828,9 @@ style "plugin_slider" bg[ACTIVE] = shade (0.6, @@COLPREFIX@_lightest) bg[INSENSITIVE] = shade (0.6, @@COLPREFIX@_lightest) bg[SELECTED] = shade (0.6, @@COLPREFIX@_lightest) - bg[PRELIGHT] = shade (0.6, @@COLPREFIX@_lightest) + + # outer round-corner-background (pixslider does its own hover prelight) + bg[PRELIGHT] = @@COLPREFIX@_bg # the numeric display @@ -826,6 +841,16 @@ style "plugin_slider" text[PRELIGHT] = @@COLPREFIX@_text } +style "processor_control_button" = "very_small_text" +{ +} + +style "processor_control_slider" = "plugin_slider" +{ + bg[PRELIGHT] = @@COLPREFIX@_darkest + bg[NORMAL] = @@COLPREFIX@_bg +} + style "track_list_display" = "small_bold_text" { text[NORMAL] = @@COLPREFIX@_text diff --git a/gtk2_ardour/ardour3_ui_default.conf b/gtk2_ardour/ardour3_ui_default.conf index 619874982d..371ea9a731 100644 --- a/gtk2_ardour/ardour3_ui_default.conf +++ b/gtk2_ardour/ardour3_ui_default.conf @@ -187,12 +187,12 @@