mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
neutrino: add the possibility to lock bouquets by default
This basically inverts the "locked" attribute of bouquets.xml and allows to selectively enable only favourites or similar.
This commit is contained in:
@@ -1012,9 +1012,12 @@ typedef enum
|
||||
LOCALE_OPTIONS_ON,
|
||||
LOCALE_OPTIONS_ON_WITHOUT_MESSAGES,
|
||||
LOCALE_OPTIONS_SERIAL,
|
||||
LOCALE_PARENTALLOCK_BOUQUETMODE,
|
||||
LOCALE_PARENTALLOCK_CHANGEPIN,
|
||||
LOCALE_PARENTALLOCK_CHANGEPIN_HINT1,
|
||||
LOCALE_PARENTALLOCK_CHANGETOLOCKED,
|
||||
LOCALE_PARENTALLOCK_DEFAULTLOCKED,
|
||||
LOCALE_PARENTALLOCK_DEFAULTUNLOCKED,
|
||||
LOCALE_PARENTALLOCK_HEAD,
|
||||
LOCALE_PARENTALLOCK_LOCKAGE,
|
||||
LOCALE_PARENTALLOCK_LOCKAGE12,
|
||||
|
@@ -1012,9 +1012,12 @@ const char * locale_real_names[] =
|
||||
"options.on",
|
||||
"options.on.without_messages",
|
||||
"options.serial",
|
||||
"parentallock.bouquetmode",
|
||||
"parentallock.changepin",
|
||||
"parentallock.changepin_hint1",
|
||||
"parentallock.changetolocked",
|
||||
"parentallock.defaultlocked",
|
||||
"parentallock.defaultunlocked",
|
||||
"parentallock.head",
|
||||
"parentallock.lockage",
|
||||
"parentallock.lockage12",
|
||||
|
@@ -450,6 +450,7 @@ struct SNeutrinoSettings
|
||||
// parentallock
|
||||
int parentallock_prompt;
|
||||
int parentallock_lockage;
|
||||
int parentallock_defaultlocked;
|
||||
char parentallock_pincode[5];
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user