Add 'controls' item to plugin insert context menu to always show Ardour generated...
[ardour.git] / gtk2_ardour / export_filename_selector.cc
index abd057414a145a08b8127c59cc25cb3375b2eb0b..298b56e8538930b323cd702969195c9fb375c889 100644 (file)
@@ -50,10 +50,14 @@ ExportFilenameSelector::ExportFilenameSelector () :
        include_hbox.pack_start (revision_checkbox, false, false, 3);
        include_hbox.pack_start (revision_spinbutton, false, false, 3);
 
+       label_entry.set_activates_default ();
+
        path_hbox.pack_start (path_label, false, false, 3);
        path_hbox.pack_start (path_entry, true, true, 3);
        path_hbox.pack_start (browse_button, false, false, 3);
 
+       path_entry.set_activates_default ();
+
        date_format_combo.set_name ("PaddedButton");
        time_format_combo.set_name ("PaddedButton");
        browse_button.set_name ("PaddedButton");
@@ -294,7 +298,7 @@ ExportFilenameSelector::open_browse_dialog ()
        int result = dialog.run();
 
        if (result == Gtk::RESPONSE_OK) {
-               Glib::ustring filename = dialog.get_filename();
+               std::string filename = dialog.get_filename();
 
                if (filename.length()) {
                        path_entry.set_text (filename);