diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2007-10-26 15:31:46 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2007-10-26 15:31:46 +0000 |
commit | 1b0f6b1d69bcad74c6127690cebc1c14486e8c1d (patch) | |
tree | caa5be37dcf92947c03b6eba489b1852263bfbb5 | |
parent | cc862d31bd8c9005964dca94a9942f1b42847252 (diff) |
pending state dialog tweaks
git-svn-id: svn://localhost/ardour2/trunk@2577 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 0e52748e55..c2f9a1d533 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2875,6 +2875,8 @@ ARDOUR_UI::disk_speed_dialog_gone (int ignored_response, MessageDialog* msg) int ARDOUR_UI::pending_state_dialog () { + HBox* hbox = new HBox(); + Image* image = new Image (Stock::DIALOG_QUESTION, ICON_SIZE_DIALOG); ArdourDialog dialog ("pending state dialog"); Label message (_("\ This session appears to have been in\n\ @@ -2885,12 +2887,16 @@ Ardour can recover any captured audio for\n\ you, or it can ignore it. Please decide\n\ what you would like to do.\n")); - dialog.get_vbox()->pack_start (message); - dialog.add_button (_("Recover from crash"), RESPONSE_ACCEPT); + hbox->pack_start (*image, PACK_EXPAND_WIDGET, 12); + hbox->pack_end (message, PACK_EXPAND_PADDING, 12); + dialog.get_vbox()->pack_start(*hbox, PACK_EXPAND_PADDING, 6); dialog.add_button (_("Ignore crash data"), RESPONSE_REJECT); - + dialog.add_button (_("Recover from crash"), RESPONSE_ACCEPT); + dialog.set_default_response (RESPONSE_ACCEPT); dialog.set_position (WIN_POS_CENTER); message.show(); + image->show(); + hbox->show(); //dialog.get_vbox()->show(); switch (dialog.run ()) { |