13
0
livetrax/libs/gtkmm2ext/window_title.cc
Paul Davis 103f22dc9a new source files from tim m.
git-svn-id: svn://localhost/ardour2/trunk@1619 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-18 16:55:32 +00:00

27 lines
391 B
C++

#include "gtkmm2ext/window_title.h"
#include "i18n.h"
namespace {
// I don't know if this should be translated.
const char* const title_separator = X_(" - ");
} // anonymous namespace
namespace Gtkmm2ext {
WindowTitle::WindowTitle(const string& title)
: m_title(title)
{
}
void
WindowTitle::operator+= (const string& element)
{
m_title = m_title + title_separator + element;
}
}