View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001887 | ardour | bugs | public | 2007-09-23 21:17 | 2008-11-21 00:04 |
| Reporter | jdavisp3 | Assigned To | paul | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.0 | ||||
| Summary | 0001887: cannot use keyboard to type in paths for open session dialog | ||||
| Description | When using the open session dialog (from the Session->Open) menu, you cannot type in a path to your session file and hit enter to open the session. Also, typing in a directory and hitting 'enter' does not change current directory. | ||||
| Additional Information | The fix is to set the default response for the dialog. Attached is a patch for the trunk and 2.0-ongoing. | ||||
| Tags | No tags attached. | ||||
|
2007-09-23 21:17
|
ardour.patch (618 bytes)
Index: gtk2_ardour/ardour_ui.cc
===================================================================
--- gtk2_ardour/ardour_ui.cc (revision 2475)
+++ gtk2_ardour/ardour_ui.cc (working copy)
@@ -1001,6 +1001,7 @@
open_session_selector = new Gtk::FileChooserDialog (_("open session"), FILE_CHOOSER_ACTION_OPEN);
open_session_selector->add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
open_session_selector->add_button (Gtk::Stock::OPEN, Gtk::RESPONSE_ACCEPT);
+ open_session_selector->set_default_response(Gtk::RESPONSE_ACCEPT);
FileFilter session_filter;
session_filter.add_pattern ("*.ardour");
|
|
2007-09-23 21:18
|
ardour-2.0.patch (618 bytes)
Index: gtk2_ardour/ardour_ui.cc
===================================================================
--- gtk2_ardour/ardour_ui.cc (revision 2475)
+++ gtk2_ardour/ardour_ui.cc (working copy)
@@ -1172,6 +1172,7 @@
open_session_selector = new Gtk::FileChooserDialog (_("open session"), FILE_CHOOSER_ACTION_OPEN);
open_session_selector->add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
open_session_selector->add_button (Gtk::Stock::OPEN, Gtk::RESPONSE_ACCEPT);
+ open_session_selector->set_default_response(Gtk::RESPONSE_ACCEPT);
FileFilter session_filter;
session_filter.add_pattern ("*.ardour");
|
|
|
applied to my code base, and will be the about-to-be-released 2.1 (trunk was patched too). thanks for another useful patch. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-09-23 21:17 | jdavisp3 | New Issue | |
| 2007-09-23 21:17 | jdavisp3 | File Added: ardour.patch | |
| 2007-09-23 21:18 | jdavisp3 | File Added: ardour-2.0.patch | |
| 2007-09-27 16:07 | paul | Status | new => resolved |
| 2007-09-27 16:07 | paul | Resolution | open => fixed |
| 2007-09-27 16:07 | paul | Assigned To | => paul |
| 2007-09-27 16:07 | paul | Note Added: 0004422 | |
| 2008-11-21 00:04 | seablade | Status | resolved => closed |