X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fvideo_server_dialog.cc;h=29872fc975b7d2886f20e11ac9218a793199fd1e;hb=004b57e9f67c6b818357759005c8e53b041dead4;hp=af2ff9efde406e6240f9cc4597350b5e207cb096;hpb=9c251037f006f189916d9fd647a4b7d517a6b94d;p=ardour.git diff --git a/gtk2_ardour/video_server_dialog.cc b/gtk2_ardour/video_server_dialog.cc index af2ff9efde..29872fc975 100644 --- a/gtk2_ardour/video_server_dialog.cc +++ b/gtk2_ardour/video_server_dialog.cc @@ -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 @@ -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);