+
+void
+ArdourDialog::on_show ()
+{
+ // never allow the splash screen to obscure any dialog
+
+ Splash* spl = Splash::instance();
+
+ if (spl) {
+ spl->pop_back ();
+ }
+
+ Dialog::on_show ();
+}
+
+void
+ArdourDialog::init ()
+{
+ set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
+ set_border_width (10);
+ CloseAllDialogs.connect (sigc::bind (sigc::mem_fun (*this, &ArdourDialog::response), RESPONSE_CANCEL));
+}
+
+bool
+ArdourDialog::on_key_press_event (GdkEventKey* key)
+{
+ return Gtk::Dialog::on_key_press_event (key);
+}