20 #include <gtkmm/stock.h>
34 , switch_to_button (
_(
"Switch to newly-saved version"))
35 , copy_media_button (
_(
"Copy media to new session"))
36 , copy_external_button (
_(
"Copy external media into new session"))
37 , no_include_media_button (
_(
"Newly-saved session should be empty"))
39 VBox* vbox = get_vbox();
41 vbox->set_spacing (6);
46 hbox = manage (
new HBox);
47 hbox->set_spacing (6);
48 label = manage (
new Label (
_(
"Save as session name")));
49 hbox->pack_start (*label,
false,
false);
51 vbox->pack_start (*hbox,
false,
false);
53 hbox = manage (
new HBox);
54 hbox->set_spacing (6);
55 label = manage (
new Label (
_(
"Parent directory/folder")));
56 hbox->pack_start (*label,
false,
false);
58 vbox->pack_start (*hbox,
false,
false);
62 VBox* sub_vbox = manage (
new VBox);
63 HBox* sub_hbox = manage (
new HBox);
64 HBox* empty = manage (
new HBox);
70 sub_hbox->set_spacing (24);
71 sub_hbox->pack_start (*empty,
false,
false);
72 sub_hbox->pack_start (*sub_vbox,
false,
false);
75 vbox->pack_start (*sub_hbox,
false,
false);
82 add_button (Stock::CANCEL, RESPONSE_CANCEL);
83 add_button (Stock::OK, RESPONSE_OK);
90 set_response_sensitive (RESPONSE_OK,
false);
109 set_response_sensitive (RESPONSE_OK);
147 set_response_sensitive (RESPONSE_OK,
false);
void no_include_toggled()
bool include_media() const
Gtk::CheckButton copy_external_button
Gtk::CheckButton no_include_media_button
void name_entry_changed()
Gtk::FileChooserButton new_parent_folder_selector
Gtk::CheckButton switch_to_button
Gtk::CheckButton copy_media_button
bool copy_external() const
std::string new_parent_folder() const
Gtk::Entry new_name_entry
std::string new_name() const