NO-OP: whitespace
[ardour.git] / gtk2_ardour / soundcloud_export_selector.cc
index e9ef5a3060e09724d2db3f0810131d9aa1968f55..3a1d5a1d2ba25dc4cb62307caa1bcb5571156690 100644 (file)
@@ -20,6 +20,8 @@
 
 
 *************************************************************************************/
+#include <gtkmm/frame.h>
+
 #include "ardour/debug.h"
 #include "ardour/soundcloud_upload.h"
 #include "soundcloud_export_selector.h"
@@ -30,9 +32,9 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <iostream>
-#include <glib/gstdio.h>
+#include "pbd/gstdio_compat.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace PBD;
 
@@ -60,16 +62,16 @@ SoundcloudExportSelector::SoundcloudExportSelector () :
        soundcloud_username_entry.set_text (ARDOUR::SessionMetadata::Metadata()->user_email());
        soundcloud_password_entry.set_visibility (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);
+       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);
 
        sc_table.set_border_width (4);
        sc_table.set_col_spacings (5);
        sc_table.set_row_spacings (5);
-       sc_frame->add (sc_table);
+       sc_sample->add (sc_table);
 
        sc_table.attach ( *(Gtk::manage (new Gtk::Image (ARDOUR_UI_UTILS::get_icon (X_("soundcloud"))))) , 0, 1,  0, 2);
 
@@ -82,14 +84,14 @@ SoundcloudExportSelector::SoundcloudExportSelector () :
        sc_table.attach (soundcloud_download_checkbox, 2, 3,  5, 6);
 
        pack_end (progress_bar, false, false);
-       sc_frame->show_all ();
+       sc_sample->show_all ();
 }
 
 
 int
 SoundcloudExportSelector::do_progress_callback (double ultotal, double ulnow, const std::string &filename)
 {
-       DEBUG_TRACE (DEBUG::Soundcloud, string_compose ("SoundcloudExportSelector::do_progress_callback(%1, %2, %3)", ultotal, ulnow, filename));
+       DEBUG_TRACE (DEBUG::Soundcloud, string_compose ("SoundcloudExportSelector::do_progress_callback(%1, %2, %3)\n", ultotal, ulnow, filename));
        if (soundcloud_cancel) {
                progress_bar.set_fraction (0);
                // cancel_button.set_label ("");