diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2006-04-19 20:42:17 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2006-04-19 20:42:17 +0000 |
commit | 8ca561f8d322d237d7aaa74ebf82f6892064da94 (patch) | |
tree | 18b1f4b4b419477e130826c7063404a551828e4f /gtk2_ardour/main.cc | |
parent | c1be7a630a55ae0b9e32335448d7a77173fbfec4 (diff) |
Change ArdourPrompter to not have an OK button by default, clean up new track/bus dialog and change 'affirmative' button on ArdourPrompter dialogs, make 'jack isn't running' dialog a MessageDialog, standardise some capitalisation, add stock buttons to plugin selector, fix layout of presets in plugin_ui. Fix 'rename range' dialog.
git-svn-id: svn://localhost/trunk/ardour2@458 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index b702429982..edff606329 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -270,18 +270,20 @@ show_ui_callback (void *arg) void gui_jack_error () { - ArdourDialog win (_("ardour: unplugged")); - Label label (_("Ardour could not connect to JACK.\n\ -There are several possible reasons:\n\ + MessageDialog win (_("Ardour could not connect to JACK."), + false, + Gtk::MESSAGE_INFO, + (Gtk::ButtonsType)(Gtk::BUTTONS_NONE)); +win.set_secondary_text(_("There are several possible reasons:\n\ \n\ 1) JACK is not running.\n\ 2) JACK is running as another user, perhaps root.\n\ 3) There is already another client called \"ardour\".\n\ \n\ Please consider the possibilities, and perhaps (re)start JACK.")); - - win.get_vbox()->pack_start (label); - win.add_button (Stock::OK, RESPONSE_ACCEPT); + + win.add_button (Stock::QUIT, RESPONSE_CLOSE); + win.set_default_response (RESPONSE_CLOSE); win.show_all (); win.set_position (Gtk::WIN_POS_CENTER); |