Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
[ardour.git] / gtk2_ardour / bundle_manager.cc
index 6367eb6560d0f30058f082de86d616421dd03ba8..3d0a0e3a37537f337a2b85102ab60dbee7508692 100644 (file)
@@ -310,6 +310,9 @@ BundleManager::BundleManager (Session* session)
                sigc::mem_fun (*this, &BundleManager::row_activated)
                );
 
+       Gtk::Button* close_but = add_button (Gtk::Stock::CLOSE, Gtk::RESPONSE_ACCEPT);
+       close_but->signal_clicked ().connect (sigc::mem_fun (*this, &Gtk::Window::hide));
+
        set_button_sensitivity ();
 
        show_all ();