Improve behavior of overwrite_file_dialog.

- Make overwrite file dialogs transient.
- Cancelling the overwrite dialog doesn't close initial dialog.
This commit is contained in:
André Nusser 2015-11-01 21:00:05 +01:00 committed by Paul Davis
parent e8a832f03f
commit 6ccffbaf09
12 changed files with 180 additions and 110 deletions

View file

@ -92,7 +92,7 @@ std::string rate_as_string (float r);
bool windows_overlap (Gtk::Window *a, Gtk::Window *b);
bool overwrite_file_dialog (std::string title, std::string text);
bool overwrite_file_dialog (Gtk::Window& parent, std::string title, std::string text);
} // namespace
#endif /* __ardour_gtk_utils_h__ */