Age | Commit message (Collapse) | Author |
|
|
|
Note that this is done at the GUI level, might need to double check if there are
other paths into a "save" that should be covered. Control surfaces use the action, but
Lua comes to mind
|
|
|
|
|
|
This is mainly for windows compatibility "%F" is not supported.
An alternative would be to s/%F/%Y-%m-%d/ to produce the ISO date.
|
|
Dumping errors to stderr only is not very useful. Particularly not
on Windows and MacOS.
Even though a user may not be able to address the issue, this
can lead to better reports vs just printing "corrupt state".
|
|
There are various ways to cancel a dialog. Only checking for
RESPONSE_CANCEL is not sufficient. e.g. Esc causes a delete-event.
* Gtk::RESPONSE_CLOSE
* Gtk::RESPONSE_REJECT
* Gtk::RESPONSE_DELETE_EVENT
* Gtk::RESPONSE_CANCEL
* Gtk::RESPONSE_NO
Among others this fixes "Clicking session > open,
then hitting ESC opens the currently selected folder and session"
|
|
So far this is only used for MIDI, missing audio files are
already handled by asking a user to locate them.
The same approach doesn't work for MIDI, since there cannot be
externally referenced (embedded) .mid files (since MIDI is destructive).
|
|
|
|
|
|
AFAICT, this was broken by either 5beeca2 or 242774e
|
|
This restores Ardour5 behavior and works around a missing "OK"
button in the engine-dialog.
|
|
|
|
When creating a session from the Editor (after Session > Close,
or directly via Session > New) the engine-dialog needs to be displayed
to allow configuring the sample-rate.
This also consolidates scripted session setup: meta_session_setup()
is now called from build_session(), instead of all callers.
|
|
|
|
engine, stop engine and show dialog
|
|
|
|
Needed to be told "require_new" to make sure the correct display is shown
|
|
rationalize it's use
|
|
|
|
handling
|
|
i18n needs to be included last, and ui_session uses localtime_r
|
|
Changes that are not explicitly #ifdef'ed should go to ardour-git.
|
|
|
|
Should be a 100% no-op - no code was altered, just moved
|