diff options
author | mad-max <mad-max@xbmcnerds.com> | 2015-03-04 10:04:52 +0100 |
---|---|---|
committer | mad-max <mad-max@xbmcnerds.com> | 2015-03-04 11:26:41 +0100 |
commit | d3e4f60ae84f3a80d3503b6680a8cad73963ae68 (patch) | |
tree | 48f7507906f957d9cddaf1a0127a7b11d7a2cf33 | |
parent | 27718b6c6d7987cd29c3417ae315979f5f673ed0 (diff) |
reverse logic from commit abc298ca71c25ae57081aad60ba5ef0abec3a445
-rw-r--r-- | language/English/strings.po | 8 | ||||
-rw-r--r-- | system/settings/settings.xml | 8 | ||||
-rw-r--r-- | xbmc/filesystem/MusicDatabaseDirectory/DirectoryNode.cpp | 4 | ||||
-rw-r--r-- | xbmc/filesystem/VideoDatabaseDirectory/DirectoryNode.cpp | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/language/English/strings.po b/language/English/strings.po index a44616a161..cee5dc0667 100644 --- a/language/English/strings.po +++ b/language/English/strings.po @@ -16380,14 +16380,14 @@ msgctxt "#38010" msgid "GPU accelerated" msgstr "" -#. Setting #38011 "Videos -> Library -> Hide All Items entry" +#. Setting #38011 "Videos -> Library -> Show All Items entry" #: system/settings/settings.xml msgctxt "#38011" -msgid "Hide "All Items" entry" +msgid "Show "All Items" entry" msgstr "" -#. Description of setting "Videos -> Library -> Hide All Items entry" +#. Description of setting "Videos -> Library -> Show All Items entry" #: system/settings/settings.xml msgctxt "#38012" -msgid "Hide "All Items" entry in directory (for example All Albums or All Seasons)" +msgid "Show "All Items" entry in directory (for example All Albums or All Seasons)" msgstr "" diff --git a/system/settings/settings.xml b/system/settings/settings.xml index beb316f257..dc561763da 100644 --- a/system/settings/settings.xml +++ b/system/settings/settings.xml @@ -377,9 +377,9 @@ </dependencies> <control type="spinner" format="string" /> </setting> - <setting id="videolibrary.hideallitems" type="boolean" label="38011" help="38012"> + <setting id="videolibrary.showallitems" type="boolean" label="38011" help="38012"> <level>2</level> - <default>false</default> + <default>true</default> <control type="toggle" /> </setting> <setting id="videolibrary.groupmoviesets" type="boolean" label="20458" help="36145"> @@ -1600,9 +1600,9 @@ </setting> </group> <group id="4"> - <setting id="musiclibrary.hideallitems" type="boolean" label="38011" help="38012"> + <setting id="musiclibrary.showallitems" type="boolean" label="38011" help="38012"> <level>2</level> - <default>false</default> + <default>true</default> <control type="toggle" /> </setting> <setting id="musiclibrary.cleanup" type="action" label="334" help="36148"> diff --git a/xbmc/filesystem/MusicDatabaseDirectory/DirectoryNode.cpp b/xbmc/filesystem/MusicDatabaseDirectory/DirectoryNode.cpp index 7824a3f9d5..c1d302b0cd 100644 --- a/xbmc/filesystem/MusicDatabaseDirectory/DirectoryNode.cpp +++ b/xbmc/filesystem/MusicDatabaseDirectory/DirectoryNode.cpp @@ -293,8 +293,8 @@ void CDirectoryNode::AddQueuingFolder(CFileItemList& items) const if (!musicUrl.FromString(BuildPath())) return; - // always hide "all" items - if (CSettings::Get().GetBool("musiclibrary.hideallitems")) + // always show "all" items by default + if (!CSettings::Get().GetBool("musiclibrary.showallitems")) return; // no need for "all" item when only one item diff --git a/xbmc/filesystem/VideoDatabaseDirectory/DirectoryNode.cpp b/xbmc/filesystem/VideoDatabaseDirectory/DirectoryNode.cpp index 0ac3de4f6d..fa1165a8ce 100644 --- a/xbmc/filesystem/VideoDatabaseDirectory/DirectoryNode.cpp +++ b/xbmc/filesystem/VideoDatabaseDirectory/DirectoryNode.cpp @@ -284,8 +284,8 @@ void CDirectoryNode::AddQueuingFolder(CFileItemList& items) const { CFileItemPtr pItem; - // always hide "all" items - if (CSettings::Get().GetBool("videolibrary.hideallitems")) + // always show "all" items by default + if (!CSettings::Get().GetBool("videolibrary.showallitems")) return; // no need for "all" item when only one item |