From e6a67784668a3ad398e5cc6d9f3ccc637f208d6f Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Sat, 9 Jun 2018 19:08:15 +0200 Subject: Revert frame -> sample changes where it's a frame as in Gtk::Frame --- gtk2_ardour/soundcloud_export_selector.cc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'gtk2_ardour/soundcloud_export_selector.cc') diff --git a/gtk2_ardour/soundcloud_export_selector.cc b/gtk2_ardour/soundcloud_export_selector.cc index 3a1d5a1d2b..4a7b1849b1 100644 --- a/gtk2_ardour/soundcloud_export_selector.cc +++ b/gtk2_ardour/soundcloud_export_selector.cc @@ -62,16 +62,16 @@ SoundcloudExportSelector::SoundcloudExportSelector () : soundcloud_username_entry.set_text (ARDOUR::SessionMetadata::Metadata()->user_email()); soundcloud_password_entry.set_visibility (false); - Gtk::Frame *sc_sample = manage (new Gtk::Frame); - sc_sample->set_border_width (4); - sc_sample->set_shadow_type (Gtk::SHADOW_ETCHED_OUT); - sc_sample->set_name ("soundcloud_export_box"); - pack_start (*sc_sample, false, false); + Gtk::Frame *sc_frame = manage (new Gtk::Frame); + sc_frame->set_border_width (4); + sc_frame->set_shadow_type (Gtk::SHADOW_ETCHED_OUT); + sc_frame->set_name ("soundcloud_export_box"); + pack_start (*sc_frame, false, false); sc_table.set_border_width (4); sc_table.set_col_spacings (5); sc_table.set_row_spacings (5); - sc_sample->add (sc_table); + sc_frame->add (sc_table); sc_table.attach ( *(Gtk::manage (new Gtk::Image (ARDOUR_UI_UTILS::get_icon (X_("soundcloud"))))) , 0, 1, 0, 2); @@ -84,7 +84,7 @@ SoundcloudExportSelector::SoundcloudExportSelector () : sc_table.attach (soundcloud_download_checkbox, 2, 3, 5, 6); pack_end (progress_bar, false, false); - sc_sample->show_all (); + sc_frame->show_all (); } @@ -112,4 +112,3 @@ SoundcloudExportSelector::do_progress_callback (double ultotal, double ulnow, co return 0; } - -- cgit v1.2.3