summaryrefslogtreecommitdiff
path: root/gtk2_ardour/video_server_dialog.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-01-11 03:55:04 +0100
committerRobin Gareus <robin@gareus.org>2017-01-11 03:55:04 +0100
commitd1e7a5bd1cff938caf2bef27685a8e839aa83ee7 (patch)
treeebc88271b976ff275c24258bb6c718f51e60ec5d /gtk2_ardour/video_server_dialog.cc
parentbbd7b2aeea5d8c1a260ce4b43b5c360e793d369a (diff)
Windows/Videotimeline: support all drives (no fixed docroot/drive-letter)
Diffstat (limited to 'gtk2_ardour/video_server_dialog.cc')
-rw-r--r--gtk2_ardour/video_server_dialog.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk2_ardour/video_server_dialog.cc b/gtk2_ardour/video_server_dialog.cc
index a8c2bd3ea3..5bd9f7e772 100644
--- a/gtk2_ardour/video_server_dialog.cc
+++ b/gtk2_ardour/video_server_dialog.cc
@@ -76,7 +76,7 @@ VideoServerDialog::VideoServerDialog (Session* s)
path_entry.set_width_chars(38);
path_entry.set_text("/usr/bin/harvid");
docroot_entry.set_width_chars(38);
- docroot_entry.set_text(Config->get_video_server_docroot());
+ docroot_entry.set_text(video_get_docroot (Config));
#ifndef __APPLE__
/* Note: on OSX icsd is not able to bind to IPv4 localhost */
@@ -153,11 +153,6 @@ 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);