mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Added tooltips to help explain various soundfilebrowser buttons.
Fixed auditioning for SoundFileChooser and SoundFileOmega. git-svn-id: svn://localhost/trunk/ardour2@453 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bcf432184d
commit
dca6c6d91f
4 changed files with 17 additions and 4 deletions
|
|
@ -75,6 +75,7 @@ Editor::bring_in_external_audio (ImportMode mode, AudioTrack* track, jack_nframe
|
||||||
}
|
}
|
||||||
|
|
||||||
SoundFileOmega sfdb (_("Add existing audio to session"));
|
SoundFileOmega sfdb (_("Add existing audio to session"));
|
||||||
|
sfdb.set_session (session);
|
||||||
sfdb.set_mode (mode);
|
sfdb.set_mode (mode);
|
||||||
|
|
||||||
switch (sfdb.run()) {
|
switch (sfdb.run()) {
|
||||||
|
|
|
||||||
|
|
@ -667,6 +667,7 @@ void
|
||||||
OptionEditor::click_browse_clicked ()
|
OptionEditor::click_browse_clicked ()
|
||||||
{
|
{
|
||||||
SoundFileChooser sfdb (_("Choose Click"));
|
SoundFileChooser sfdb (_("Choose Click"));
|
||||||
|
sfdb.set_session (session);
|
||||||
|
|
||||||
int result = sfdb.run ();
|
int result = sfdb.run ();
|
||||||
|
|
||||||
|
|
@ -686,6 +687,7 @@ void
|
||||||
OptionEditor::click_emphasis_browse_clicked ()
|
OptionEditor::click_emphasis_browse_clicked ()
|
||||||
{
|
{
|
||||||
SoundFileChooser sfdb (_("Choose Click Emphasis"));
|
SoundFileChooser sfdb (_("Choose Click Emphasis"));
|
||||||
|
sfdb.set_session (session);
|
||||||
|
|
||||||
int result = sfdb.run ();
|
int result = sfdb.run ();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@
|
||||||
#include <ardour/audioregion.h>
|
#include <ardour/audioregion.h>
|
||||||
#include <ardour/externalsource.h>
|
#include <ardour/externalsource.h>
|
||||||
|
|
||||||
|
#include "ardour_ui.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "prompter.h"
|
#include "prompter.h"
|
||||||
#include "sfdb_ui.h"
|
#include "sfdb_ui.h"
|
||||||
|
|
@ -334,8 +335,17 @@ SoundFileOmega::SoundFileOmega (string title)
|
||||||
mode_strings = internationalize (import_mode_strings);
|
mode_strings = internationalize (import_mode_strings);
|
||||||
}
|
}
|
||||||
|
|
||||||
add_button (_("Embed"), ResponseEmbed);
|
ARDOUR_UI::instance()->tooltips().set_tip(split_check,
|
||||||
add_button (_("Import"), ResponseImport);
|
_("Create a region for each channel"));
|
||||||
|
|
||||||
|
Gtk::Button* btn = add_button (_("Embed"), ResponseEmbed);
|
||||||
|
ARDOUR_UI::instance()->tooltips().set_tip(*btn,
|
||||||
|
_("Link to an external file"));
|
||||||
|
|
||||||
|
btn = add_button (_("Import"), ResponseImport);
|
||||||
|
ARDOUR_UI::instance()->tooltips().set_tip(*btn,
|
||||||
|
_("Copy a file to the session folder"));
|
||||||
|
|
||||||
add_button (Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE);
|
add_button (Gtk::Stock::CLOSE, Gtk::RESPONSE_CLOSE);
|
||||||
|
|
||||||
Gtk::HBox *box = manage (new Gtk::HBox());
|
Gtk::HBox *box = manage (new Gtk::HBox());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue