Add keyboard shortcut to tooltip text where possible.
[ardour.git] / gtk2_ardour / bundle_manager.h
index 94078a14af271123f68ae5053eb7f9d47f097e79..4172330cf1bf37fb5d6b6152b81da94156e50c8d 100644 (file)
@@ -35,7 +35,7 @@ namespace ARDOUR {
 class BundleEditorMatrix : public PortMatrix
 {
   public:
-       BundleEditorMatrix (Gtk::Window *, ARDOUR::Session &, boost::shared_ptr<ARDOUR::Bundle>);
+       BundleEditorMatrix (Gtk::Window *, ARDOUR::Session *, boost::shared_ptr<ARDOUR::Bundle>);
 
        void set_state (ARDOUR::BundleChannel c[2], bool s);
        PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
@@ -67,7 +67,7 @@ class BundleEditorMatrix : public PortMatrix
 class BundleEditor : public ArdourDialog
 {
   public:
-       BundleEditor (ARDOUR::Session &, boost::shared_ptr<ARDOUR::UserBundle>);
+       BundleEditor (ARDOUR::Session *, boost::shared_ptr<ARDOUR::UserBundle>);
 
   protected:
        void on_map ();
@@ -88,7 +88,7 @@ class BundleEditor : public ArdourDialog
 class BundleManager : public ArdourDialog
 {
   public:
-       BundleManager (ARDOUR::Session &);
+       BundleManager (ARDOUR::Session *);
 
   private:
 
@@ -115,9 +115,9 @@ class BundleManager : public ArdourDialog
        Gtk::TreeView _tree_view;
        Glib::RefPtr<Gtk::ListStore> _list_model;
        ModelColumns _list_model_columns;
-       ARDOUR::Session& _session;
        Gtk::Button edit_button;
        Gtk::Button delete_button;
+       PBD::ScopedConnectionList bundle_connections;
 };
 
 class NameChannelDialog : public ArdourDialog