*/
#include "pbd/strsplit.h"
+#include "pbd/compose.h"
#include "search_path_option.h"
+#include "i18n.h"
using namespace std;
using namespace Gtk;
hbox->pack_end (add_chooser, true, true);
hbox->pack_end (*manage (new Label (_("Click to add a new location"))), false, false);
hbox->show_all ();
-
+
vbox.pack_start (path_box);
vbox.pack_end (*hbox);
SearchPathOption::~SearchPathOption()
{
-
+
}
path_box.pack_start (session_label);
split (str, dirs, ':');
-
+
for (vector<string>::iterator d = dirs.begin(); d != dirs.end(); ++d) {
add_path (*d);
}
SearchPathOption::changed ()
{
string str;
-
+
for (list<PathEntry*>::iterator p = paths.begin(); p != paths.end(); ++p) {
if (!str.empty()) {
box.set_spacing (6);
box.set_homogeneous (false);
box.pack_start (entry, true, true);
-
+
if (removable) {
box.pack_start (remove_button, false, false);
remove_button.show ();