correctly package color theme files for both linux and OS X
[ardour.git] / gtk2_ardour / video_server_dialog.cc
index af2ff9efde406e6240f9cc4597350b5e207cb096..29872fc975b7d2886f20e11ac9218a793199fd1e 100644 (file)
@@ -36,7 +36,7 @@
 #include "video_server_dialog.h"
 #include "utils_videotl.h"
 #include "video_tool_paths.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 #ifdef PLATFORM_WINDOWS
 #include <windows.h>
@@ -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);