mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
fix button label in new session dialog when backing up (from david halter)
git-svn-id: svn://localhost/ardour2/branches/3.0@9970 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e76840c089
commit
6e280d5cfc
1 changed files with 9 additions and 1 deletions
|
|
@ -658,7 +658,11 @@ ArdourStartup::on_prepare (Gtk::Widget* page)
|
|||
Gtk::Widget* def = wrap (gtk_window_get_default_widget (win->gobj()));
|
||||
Gtk::Button* button;
|
||||
if ((button = dynamic_cast<Gtk::Button*>(def)) != 0) {
|
||||
button->set_label (_("Open"));
|
||||
if (more_new_session_options_button.get_active()) {
|
||||
button->set_label (_("Forward"));
|
||||
}else{
|
||||
button->set_label (_("Open"));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -844,6 +848,10 @@ ArdourStartup::setup_new_session_page ()
|
|||
set_page_title (session_vbox, _("New Session"));
|
||||
set_page_type (session_vbox, ASSISTANT_PAGE_CONFIRM);
|
||||
|
||||
if (more_new_session_options_button.get_active()) {
|
||||
set_page_type (session_vbox, ASSISTANT_PAGE_CONTENT);
|
||||
}
|
||||
|
||||
new_name_entry.signal_map().connect (sigc::mem_fun (*this, &ArdourStartup::new_name_mapped));
|
||||
new_name_entry.signal_focus_out_event().connect (sigc::ptr_fun (lost_name_entry_focus));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue