Browse files

MythFrontend: Add a new Slave menu theme.

A menu theme with no menus. It is intended for frontends that are
operated remotely via either the network or http interfaces.

It is not selectable from the appearance settings (as you can't change
it back!) and can currently only be used in a non-persistent manner from
the command line with:

mythfrontend -O MenuTheme=Slave

In the future there may be a more convenient and obvious command line
switch and 'slave' frontends may advertise themselves as such through
the UPnP server (in much the same way as slave backends distinguish
themselves from master backends).
  • Loading branch information...
Mark Kendall
Mark Kendall committed Jun 15, 2011
1 parent 4bf4aed commit 2bd69f99dc310f166d18633e6f11251dc34967db
@@ -1110,7 +1110,8 @@ QList<ThemeInfo> MythUIHelper::GetThemes(ThemeType type)
QFileInfo &theme = *it;

if (theme.baseName() == "default" ||
theme.baseName() == "default-wide")
theme.baseName() == "default-wide" ||
theme.baseName() == "Slave")

ThemeInfo themeInfo(theme.absoluteFilePath());
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<mythmenu name="MAIN">
@@ -0,0 +1,15 @@
<thumbnail name="preview">classic-preview.png</thumbnail>
@@ -9,7 +9,7 @@ QMAKE_COPY_DIR = sh ./cpsvndir
win32:QMAKE_COPY_DIR = sh ./cpsimple

themes.path = $${PREFIX}/share/mythtv/themes/
themes.files = default default-wide classic DVR
themes.files = default default-wide classic DVR Slave
themes.files += Terra defaultmenu mediacentermenu
themes.files += MythCenter MythCenter-wide
themes.files += mythuitheme.dtd

0 comments on commit 2bd69f9

Please sign in to comment.