gtkmm: use ALIGN_START instead of deprecated Gtk::AlignmentEnum::ALIGN_TOP
This commit is contained in:
parent
17fafc376b
commit
440264e0b8
@ -2530,7 +2530,7 @@ require some unused files to continue to exist."));
|
||||
Gtk::HBox ddhbox; // the hbox we eventually pack into the dialog's vbox
|
||||
Gtk::Image* dimage = manage (new Gtk::Image(Stock::DIALOG_INFO, Gtk::ICON_SIZE_DIALOG));
|
||||
|
||||
dimage->set_alignment(ALIGN_START, ALIGN_TOP);
|
||||
dimage->set_alignment(ALIGN_START, ALIGN_START);
|
||||
|
||||
const string dead_directory = _session->session_directory().dead_path();
|
||||
|
||||
@ -2973,7 +2973,7 @@ without save, or in middle of recording when\n\
|
||||
%1 can recover any changes for\n\
|
||||
you, or it can ignore it. Please decide\n\
|
||||
what you would like to do.\n"), PROGRAM_NAME));
|
||||
image->set_alignment(ALIGN_CENTER, ALIGN_TOP);
|
||||
image->set_alignment(ALIGN_CENTER, ALIGN_START);
|
||||
hbox->pack_start (*image, PACK_EXPAND_WIDGET, 12);
|
||||
hbox->pack_end (message, PACK_EXPAND_PADDING, 12);
|
||||
dialog.get_vbox()->pack_start(*hbox, PACK_EXPAND_PADDING, 6);
|
||||
|
@ -1281,9 +1281,9 @@ ARDOUR_UI::ask_about_saving_session (const vector<string>& actions)
|
||||
|
||||
prompt_label.set_text (prompt);
|
||||
prompt_label.set_name (X_("PrompterLabel"));
|
||||
prompt_label.set_alignment(ALIGN_START, ALIGN_TOP);
|
||||
prompt_label.set_alignment(ALIGN_START, ALIGN_START);
|
||||
|
||||
dimage->set_alignment(ALIGN_CENTER, ALIGN_TOP);
|
||||
dimage->set_alignment(ALIGN_CENTER, ALIGN_START);
|
||||
dhbox.set_homogeneous (false);
|
||||
dhbox.pack_start (*dimage, false, false, 5);
|
||||
dhbox.pack_start (prompt_label, true, false, 5);
|
||||
|
@ -188,7 +188,7 @@ This session was created with a sample rate of %1 Hz, but\n\
|
||||
%2 is currently running at %3 Hz. If you load this session,\n\
|
||||
audio may be played at the wrong sample rate.\n"), desired, PROGRAM_NAME, actual));
|
||||
|
||||
image->set_alignment(ALIGN_CENTER, ALIGN_TOP);
|
||||
image->set_alignment(ALIGN_CENTER, ALIGN_START);
|
||||
hbox->pack_start (*image, PACK_EXPAND_WIDGET, 12);
|
||||
hbox->pack_end (message, PACK_EXPAND_PADDING, 12);
|
||||
dialog.get_vbox()->pack_start(*hbox, PACK_EXPAND_PADDING, 6);
|
||||
|
@ -284,12 +284,12 @@ LoudnessDialog::LoudnessDialog (Session* s, TimelineRange const& ar, bool as)
|
||||
t->set_spacings (4);
|
||||
l = manage (new Label ());
|
||||
l->set_markup (_("<b>Loudness Analysis</b>\n"));
|
||||
l->set_alignment (ALIGN_START, ALIGN_TOP);
|
||||
l->set_alignment (ALIGN_START, ALIGN_START);
|
||||
t->attach (*l, 0, 1, 0, 1, EXPAND | FILL, FILL, 8, 2);
|
||||
|
||||
l = manage (new Label ());
|
||||
l->set_line_wrap ();
|
||||
l->set_alignment (ALIGN_START, ALIGN_TOP);
|
||||
l->set_alignment (ALIGN_START, ALIGN_START);
|
||||
l->set_markup (_(
|
||||
"This allows the user to analyze and conform the loudness of the signal at the master-bus "
|
||||
"output of the complete session, as it would be exported. "
|
||||
@ -298,7 +298,7 @@ LoudnessDialog::LoudnessDialog (Session* s, TimelineRange const& ar, bool as)
|
||||
|
||||
l = manage (new Label ());
|
||||
l->set_line_wrap ();
|
||||
l->set_alignment (ALIGN_START, ALIGN_TOP);
|
||||
l->set_alignment (ALIGN_START, ALIGN_START);
|
||||
l->set_markup (_(
|
||||
"By default, a faster-than-realtime export is used to assess the loudness of the "
|
||||
"session. If any outboard gear is used, a <i>realtime</i> export is available, to "
|
||||
|
Loading…
Reference in New Issue
Block a user