fft_graph (16384)
{
set_name(_("FFT analysis window"));
- set_title(_("FFT analysis window"));
+ set_title (_("Spectral Analysis"));
track_list_ready = false;
/* ardour sessions are folders */
- open_session_selector = new Gtk::FileChooserDialog (_("open session"), FILE_CHOOSER_ACTION_OPEN);
+ open_session_selector = new Gtk::FileChooserDialog (_("Open Session"), FILE_CHOOSER_ACTION_OPEN);
open_session_selector->add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
open_session_selector->add_button (Gtk::Stock::OPEN, Gtk::RESPONSE_ACCEPT);
open_session_selector->set_default_response(Gtk::RESPONSE_ACCEPT);
prompter.set_name ("Prompter");
prompter.add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT);
+ prompter.set_title (_("Take Snapshot"));
prompter.set_prompt (_("Name of New Snapshot"));
prompter.set_initial_text (timebuf);
void
ARDOUR_UI::save_template ()
-
{
ArdourPrompter prompter (true);
string name;
}
prompter.set_name (X_("Prompter"));
+ prompter.set_title (_("Save Mix Template"));
prompter.set_prompt (_("Name for mix template:"));
prompter.set_initial_text(session->name() + _("-template"));
prompter.add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT);
msg.set_name (X_("CleanupDialog"));
+ msg.set_title (_("Cleanup Unused Sources"));
msg.set_wmclass (X_("existing_session"), "Ardour");
msg.set_position (Gtk::WIN_POS_MOUSE);
pop_back_splash ();
big_clock_window->add (big_clock);
big_clock_window->signal_key_press_event().connect (bind (sigc::ptr_fun (relay_key_press), big_clock_window));
- WindowTitle title(Glib::get_application_name());
- title += _("Clock");
- big_clock_window->set_title (title.get_string());
+ big_clock_window->set_title (_("Clock"));
big_clock_window->set_type_hint (Gdk::WINDOW_TYPE_HINT_UTILITY);
big_clock_window->signal_realize().connect (bind (sigc::ptr_fun (set_decoration), big_clock_window, (Gdk::DECOR_BORDER|Gdk::DECOR_RESIZEH)));
big_clock_window->signal_unmap().connect (bind (sigc::ptr_fun(&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/ToggleBigClock")));
#include <ardour/utils.h>
#include <gtkmm2ext/utils.h>
#include <gtkmm2ext/stop_signal.h>
-#include <gtkmm2ext/window_title.h>
#include <cmath>
#include "audio_region_editor.h"
signal_delete_event().connect (bind (sigc::ptr_fun (just_hide_it), static_cast<Window *> (this)));
- WindowTitle title(string_compose (_("Region %1"), _region->name()));
- title += Glib::get_application_name();
-
- set_title (title.get_string());
+ set_title (string_compose (_("Region %1"), _region->name()));
show_all();
if (with_dialog) {
- ArdourDialog win ("Duplication Dialog");
+ ArdourDialog win ("Duplicate");
Label label (_("Number of Duplications:"));
Adjustment adjustment (1.0, 1.0, 1000000.0, 1.0, 5.0);
SpinButton spinner (adjustment, 0.0, 1);
#include <pbd/shortpath.h>
#include <gtkmm2ext/choice.h>
-#include <gtkmm2ext/window_title.h>
#include <ardour/session.h>
#include <ardour/audioplaylist.h>
int target_regions, int target_tracks, boost::shared_ptr<AudioTrack> track, bool replace,
uint32_t total)
{
- WindowTitle title = string_compose (_("importing %1"), paths.front());
-
- interthread_progress_window->set_title (title.get_string());
+ interthread_progress_window->set_title (string_compose (_("Importing %1"), paths.front()));
interthread_progress_window->set_position (Gtk::WIN_POS_MOUSE);
interthread_progress_bar.set_fraction (0.0f);
interthread_cancel_label.set_text (_("Cancel Import"));
#include <libgnomecanvas/libgnomecanvas.h>
#include <gtkmm2ext/gtk_ui.h>
-#include <gtkmm2ext/window_title.h>
#include <ardour/location.h>
#include <ardour/profile.h>
dialog.set_prompt (_("New Name:"));
- WindowTitle title(Glib::get_application_name());
if (loc->is_mark()) {
- title += _("Rename Mark");
+ dialog.set_title (_("Rename Mark"));
} else {
- title += _("Rename Range");
+ dialog.set_title (_("Rename Range"));
}
- dialog.set_title(title.get_string());
-
dialog.set_name ("MarkRenameWindow");
dialog.set_size_request (250, -1);
dialog.set_position (Gtk::WIN_POS_MOUSE);
#include <gtkmm2ext/utils.h>
#include <gtkmm2ext/choice.h>
-#include <gtkmm2ext/window_title.h>
#include <gtkmm2ext/popup.h>
#include <ardour/audioengine.h>
dialog.set_prompt (_("New Name:"));
- WindowTitle title(Glib::get_application_name());
- title += _("Name New Location Marker");
-
- dialog.set_title(title.get_string());
+ dialog.set_title (_("New Location Marker"));
dialog.set_name ("MarkNameWindow");
dialog.set_size_request (250, -1);
return;
}
- WindowTitle title (Glib::get_application_name());
- title += _("Rename Region");
-
- ArdourDialog d (*this, title.get_string(), true, false);
+ ArdourDialog d (*this, _("Rename Region"), true, false);
Entry entry;
Label label (_("New name:"));
HBox hbox;
build_interthread_progress_window ();
}
- WindowTitle title(Glib::get_application_name());
- title += _("Freeze");
- interthread_progress_window->set_title (title.get_string());
+ interthread_progress_window->set_title (_("Freeze"));
interthread_progress_window->set_position (Gtk::WIN_POS_MOUSE);
interthread_progress_window->show_all ();
interthread_progress_bar.set_fraction (0.0f);
#include <pbd/pthread_utils.h>
#include <pbd/memento_command.h>
-#include <gtkmm2ext/window_title.h>
#include <gtkmm2ext/utils.h>
#include "editor.h"
set_position (Gtk::WIN_POS_MOUSE);
set_name (N_("TimeFXDialog"));
- WindowTitle title(Glib::get_application_name());
if (pitching) {
- title += _("Pitch Shift");
+ set_title(_("Pitch Shift"));
} else {
- title += _("Time Stretch");
+ set_title(_("Time Stretch"));
}
- set_title(title.get_string());
cancel_button = add_button (_("Cancel"), Gtk::RESPONSE_CANCEL);
#include <pbd/xml++.h>
#include <gtkmm2ext/utils.h>
-#include <gtkmm2ext/window_title.h>
#include <ardour/export.h>
#include <ardour/sndfile_helpers.h>
channel_count_selection_allowed = true;
export_cd_markers_allowed = true;
- WindowTitle title(Glib::get_application_name());
- title += _("Export");
-
- set_title (title.get_string());
+ set_title (_("Export"));
set_wmclass (X_("ardour_export"), "Ardour");
set_name ("ExportWindow");
add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK);
using namespace PBD;
KeyEditor::KeyEditor ()
- : ArdourDialog (_("Shortcut Editor"), false)
+ : ArdourDialog (_("Keybindings"), false)
, unbind_button (_("Remove shortcut"))
, unbind_box (BUTTONBOX_END)
#include <gtkmm2ext/utils.h>
#include <gtkmm2ext/stop_signal.h>
-#include <gtkmm2ext/window_title.h>
#include <ardour/utils.h>
#include <ardour/configuration.h>
{
i_am_the_modifier = 0;
- WindowTitle title(Glib::get_application_name());
- title += _("Locations");
-
- set_title(title.get_string());
+ set_title(_("Locations"));
+
set_wmclass(X_("ardour_locations"), "Ardour");
set_name ("LocationWindow");
set_icon_list (window_icons);
}
- WindowTitle title(Glib::get_application_name());
- title += _("Session Control");
- set_title(title.get_string());
+ set_title(_("Session Control"));
set_position (Gtk::WIN_POS_MOUSE);
set_resizable(false);
auditioner_io_selector = 0;
session = 0;
- WindowTitle title(Glib::get_application_name());
- title += _("Preferences");
- set_title(title.get_string());
+ set_title(_("Preferences"));
set_default_size (300, 300);
set_wmclass (X_("ardour_preferences"), "Ardour");
#include <ardour/configuration.h>
#include <gtkmm2ext/gtk_ui.h>
-#include <gtkmm2ext/window_title.h>
#include "playlist_selector.h"
#include "route_ui.h"
add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK);
set_size_request (300, 200);
- WindowTitle title(Glib::get_application_name());
- title += _("Playlists");
- set_title(title.get_string());
+ set_title (_("Playlists"));
model = TreeStore::create (columns);
tree.set_model (model);
rui = ruix;
- WindowTitle title(Glib::get_application_name());
- title += string_compose (_("Playlist for %1"), rui->route()->name());
- set_title (title.get_string());
+ set_title (string_compose (_("Playlist for %1"), rui->route()->name()));
clear_map ();
select_connection.disconnect ();
#include <gtkmm2ext/utils.h>
#include <gtkmm2ext/stop_signal.h>
#include <gtkmm2ext/doi.h>
-#include <gtkmm2ext/window_title.h>
#include <ardour/ardour.h>
#include <ardour/session.h>
send_ui = new SendUIWindow (send, _session);
- WindowTitle title(Glib::get_application_name());
- title += send->name();
- send_ui->set_title (title.get_string());
+ send_ui->set_title (send->name());
send->set_gui (send_ui);
plugin_ui = new PluginUIWindow (win, plugin_insert);
- WindowTitle title(Glib::get_application_name());
- title += generate_redirect_title (plugin_insert);
- plugin_ui->set_title (title.get_string());
+ plugin_ui->set_title (generate_redirect_title (plugin_insert));
plugin_insert->set_gui (plugin_ui);
/* rename editor windows for sends and plugins */
- WindowTitle title (Glib::get_application_name());
-
if ((insert = boost::dynamic_pointer_cast<Insert> (redirect)) == 0) {
boost::shared_ptr<Send> send = boost::dynamic_pointer_cast<Send> (redirect);
- title += send->name();
- static_cast<Window*>(gui)->set_title (title.get_string());
+ static_cast<Window*>(gui)->set_title (send->name());
} else {
boost::shared_ptr<PluginInsert> plugin_insert;
if ((plugin_insert = boost::dynamic_pointer_cast<PluginInsert> (insert)) != 0) {
- title += generate_redirect_title (plugin_insert);
+ static_cast<Window*>(gui)->set_title (generate_redirect_title (plugin_insert));
}
- static_cast<Window*>(gui)->set_title (title.get_string());
}
}
}
set_default_size (620,370);
set_wmclass (X_("ardour_route_parameters"), "Ardour");
- WindowTitle title(Glib::get_application_name());
- title += _("Track/Bus Inspector");
- set_title (title.get_string());
+ set_title (_("Track/Bus Inspector"));
// events
route_display.get_selection()->signal_changed().connect(mem_fun(*this, &RouteParams_UI::route_selected));
void
RouteParams_UI::update_title ()
{
- WindowTitle title(Glib::get_application_name());
- title += _("Track/Bus Inspector");
+ WindowTitle title(_("Track/Bus Inspector"));
if (_route) {
sigc::signal<void,uint32_t> ColorChanged;
ThemeManager::ThemeManager()
- : ArdourDialog ("ThemeManager"),
+ : ArdourDialog ("Theme Manager"),
dark_button ("Dark Theme"),
light_button ("Light Theme"),
reset_button ("Restore Defaults")