use running_from_source_tree()
[ardour.git] / gtk2_ardour / video_server_dialog.cc
index af2ff9efde406e6240f9cc4597350b5e207cb096..2bd814b7ac124a9d31436c7df027beefe0ed5b27 100644 (file)
@@ -74,13 +74,10 @@ VideoServerDialog::VideoServerDialog (Session* s)
        HBox* docroot_hbox = manage (new HBox);
 
        path_entry.set_width_chars(38);
-       path_browse_button.set_name ("PaddedButton");
        path_entry.set_text("/usr/bin/harvid");
        docroot_entry.set_width_chars(38);
        docroot_entry.set_text(Config->get_video_server_docroot());
-       docroot_browse_button.set_name ("PaddedButton");
 
-       listenaddr_combo.set_name ("PaddedButton");
 #ifndef __APPLE__
        /* Note: on OSX icsd is not able to bind to IPv4 localhost */
        listenaddr_combo.append_text("127.0.0.1");
@@ -151,7 +148,11 @@ VideoServerDialog::VideoServerDialog (Session* s)
        if (Config->get_video_advanced_setup()){
                vbox->pack_start (*docroot_hbox, false, false);
        } else {
+#ifndef PLATFORM_WINDOWS
                docroot_entry.set_text(X_("/"));
+#else
+               docroot_entry.set_text(X_("C:\\"));
+#endif
                listenport_spinner.set_sensitive(false);
        }
        vbox->pack_start (*options_box, false, true);