diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-01 13:23:27 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-01 13:23:27 +0000 |
commit | ea08bbe621c146a0940ce584e2b970dcb7d7c9e2 (patch) | |
tree | 9d7a032697c2495301e8ee80b6f4dbc8aac0fe4d /gtk2_ardour/ardour_ui.cc | |
parent | 23531b0fa5b2de44f3daf9e5071955d2a1880259 (diff) |
fix logic problems with startup assistant; make initial page buttons of startup activatable to save mousing; grow recent sessions scrolled window if there are more than 4 recent sessions to display
git-svn-id: svn://localhost/ardour2/branches/3.0@6244 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index c51df14a74..50aea1c24c 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -296,11 +296,14 @@ ARDOUR_UI::run_startup (bool should_be_new) main().run(); - /* we don't return here until the startup assistant is finished */ - _startup->hide (); - return _startup->applying (); + switch (_startup->response()) { + case RESPONSE_OK: + return true; + default: + return false; + } } int |