diff options
author | André Nusser <andre.nusser@googlemail.com> | 2015-11-01 21:00:05 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-11-04 17:52:00 -0500 |
commit | 6ccffbaf0937c7814f3c49510859d13bc033df99 (patch) | |
tree | e0ce798c754ae56e9535182d6900f8fcefee555d /gtk2_ardour/utils.h | |
parent | e8a832f03f300ff532f108f24663a4bded7e7e0d (diff) |
Improve behavior of overwrite_file_dialog.
- Make overwrite file dialogs transient.
- Cancelling the overwrite dialog doesn't close initial dialog.
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index ebf966eba9..c6df938394 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -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__ */ |