diff options
author | chriszero <zerov83@gmail.com> | 2015-02-28 14:41:21 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-28 14:41:21 +0100 |
commit | 9450b271f139c8fe0470811da4c5cf4b1c8030d3 (patch) | |
tree | 9cf9a2c17ef778dacd3309a771cd8af2f5cf9bb2 /plex.cpp | |
parent | 92613bd473ee262d157ce4d562a7c77ecf696daa (diff) | |
download | vdr-plugin-plex-9450b271f139c8fe0470811da4c5cf4b1c8030d3.tar.gz vdr-plugin-plex-9450b271f139c8fe0470811da4c5cf4b1c8030d3.tar.bz2 |
Correct titles in Plex-Browser
Diffstat (limited to 'plex.cpp')
-rw-r--r-- | plex.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -108,6 +108,8 @@ eOSState cPlexBrowser::LevelUp() ShowBrowser = 0; return osEnd; } + cString title = cString::sprintf(tr("Browse Plex - %s"), tr(pCont->m_sTitle1.c_str())); + SetTitle(title); CreateMenu(); return osContinue; } @@ -128,7 +130,8 @@ eOSState cPlexBrowser::ProcessSelected() if(item->IsDir()) { plexclient::Directory* pDir = item->GetAttachedDirectory(); pCont = pService->GetSection(pDir->m_sKey); - //SetTitle(pDir->m_sTitle); + cString title = cString::sprintf(tr("Browse Plex - %s"), tr(pDir->m_sTitle.c_str())); + SetTitle(title); CreateMenu(); return osContinue; } |