Paul Davis
103f22dc9a
git-svn-id: svn://localhost/ardour2/trunk@1619 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
391 B
C++
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;
|
|
}
|
|
|
|
}
|