diff options
author | nick_m <mainsbridge@gmail.com> | 2015-10-23 02:14:03 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-10-23 02:14:03 +1100 |
commit | 72556cdd7a16fd61eb39b7bd5c806ac46655ffcd (patch) | |
tree | fef27bb8e7ff2f4b69f5cd2d9fbfb91ca9591d4a /gtk2_ardour/ambiguous_file_dialog.cc | |
parent | 410d4316b9fd97a6318dd99153ae5910d34a56cd (diff) |
Amend last commit.
Diffstat (limited to 'gtk2_ardour/ambiguous_file_dialog.cc')
-rw-r--r-- | gtk2_ardour/ambiguous_file_dialog.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/ambiguous_file_dialog.cc b/gtk2_ardour/ambiguous_file_dialog.cc index be4bdc2dc1..98d0eaec39 100644 --- a/gtk2_ardour/ambiguous_file_dialog.cc +++ b/gtk2_ardour/ambiguous_file_dialog.cc @@ -29,8 +29,10 @@ using namespace Gtk; AmbiguousFileDialog::AmbiguousFileDialog (const string& file, const vector<string>& paths) : ArdourDialog (_("Ambiguous File"), true, false) { - get_vbox()->set_spacing (6); + /* This dialog is always shown programatically. Center the window.*/ + set_position (Gtk::WIN_POS_CENTER); + get_vbox()->set_spacing (6); Label* l = manage (new Label); l->set_markup (string_compose (_("%1 has found the file <i>%2</i> in the following places:\n\n"), PROGRAM_NAME, file)); get_vbox()->pack_start (*l); |