skeleton to allow opening the library download manager from the clip viewer

This commit is contained in:
Paul Davis 2022-09-26 11:15:44 -06:00
parent 340253a095
commit fb750aa4b8
2 changed files with 7 additions and 0 deletions

View File

@ -308,6 +308,7 @@ TriggerClipPicker::refill_dropdown ()
_clip_dir_menu.AddMenuElem (Menu_Helpers::SeparatorElem ());
_clip_dir_menu.AddMenuElem (Menu_Helpers::MenuElem (_("Edit..."), sigc::mem_fun (*this, &TriggerClipPicker::edit_path)));
_clip_dir_menu.AddMenuElem (Menu_Helpers::MenuElem (_("Other..."), sigc::mem_fun (*this, &TriggerClipPicker::open_dir)));
_clip_dir_menu.AddMenuElem (Menu_Helpers::MenuElem (_("Download..."), sigc::mem_fun (*this, &TriggerClipPicker::open_downloader)));
}
static bool
@ -653,6 +654,11 @@ audio_midi_suffix (const std::string& str)
return false;
}
void
TriggerClipPicker::open_downloader ()
{
}
void
TriggerClipPicker::open_dir ()
{

View File

@ -56,6 +56,7 @@ public:
private:
void list_dir (std::string const&, Gtk::TreeNodeChildren const* pc = NULL);
void open_dir ();
void open_downloader ();
void edit_path ();
void refill_dropdown ();
void parameter_changed (std::string const&);