13
0
livetrax/libs/gtkmm2ext/window_title.cc
Paul Davis 45d3ec1437 merged with 1697 revision of trunk (which is post-rc1 but pre-rc2
git-svn-id: svn://localhost/ardour2/branches/2.1-staging@1698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-11 13:07:51 +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;
}
}