Skip to content

Commit

Permalink
Bugfixing custom category icons
Browse files Browse the repository at this point in the history
  • Loading branch information
gade01 committed Aug 18, 2020
1 parent 0b16e4a commit d899e75
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 720p/includes_SkinSettingsHome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1961,6 +1961,7 @@
<description>Music</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[2] - [COLOR=DefaultColor2]$INFO[Skin.String(MusicCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(MusicCategoryIconPath)</onclick>
<onclick>Skin.SetImage(MusicCategoryIconPath)</onclick>
<enable>Library.HasContent(Music) + [String.IsEmpty(Skin.String(MusicAddon1)) + String.IsEmpty(Skin.String(MusicAddon2)) + String.IsEmpty(Skin.String(MusicAddon3)) + String.IsEmpty(Skin.String(MusicAddon4)) + String.IsEmpty(Skin.String(MusicAddon5)) + String.IsEmpty(Skin.String(MusicAddon6))]</enable>
<visible>!Skin.HasSetting(HideMusicCategory)</visible>
Expand All @@ -1969,20 +1970,23 @@
<description>PVR TV</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[19020] - [COLOR=DefaultColor2]$INFO[Skin.String(PVRCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(PVRCategoryIconPath)</onclick>
<onclick>Skin.SetImage(PVRCategoryIconPath)</onclick>
<visible>Pvr.HasTVChannels + !Skin.HasSetting(HidePVRCategory)</visible>
</control>
<control type="button" id="2403">
<description>PVR Radio</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[19021] - [COLOR=DefaultColor2]$INFO[Skin.String(PVRRadioCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(PVRRadioCategoryIconPath)</onclick>
<onclick>Skin.SetImage(PVRRadioCategoryIconPath)</onclick>
<visible>Pvr.HasRadioChannels + !Skin.HasSetting(HidePVRRadioCategory)</visible>
</control>
<control type="button" id="2404">
<description>Videos</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[3] - [COLOR=DefaultColor2]$INFO[Skin.String(VideosCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(VideosCategoryIconPath)</onclick>
<onclick>Skin.SetImage(VideosCategoryIconPath)</onclick>
<enable>String.IsEmpty(Skin.String(VideoAddon1)) + String.IsEmpty(Skin.String(VideoAddon2)) + String.IsEmpty(Skin.String(VideoAddon3)) + String.IsEmpty(Skin.String(VideoAddon4)) + String.IsEmpty(Skin.String(VideoAddon5)) + String.IsEmpty(Skin.String(VideoAddon6))</enable>
<visible>!Skin.HasSetting(HideVideosCategory)</visible>
Expand All @@ -1991,6 +1995,7 @@
<description>Movies</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[20342] - [COLOR=DefaultColor2]$INFO[Skin.String(MoviesCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(MoviesCategoryIconPath)</onclick>
<onclick>Skin.SetImage(MoviesCategoryIconPath)</onclick>
<enable>Library.HasContent(Movies) + [String.IsEmpty(Skin.String(MovieAddon1)) + String.IsEmpty(Skin.String(MovieAddon2)) + String.IsEmpty(Skin.String(MovieAddon3)) + String.IsEmpty(Skin.String(MovieAddon4)) + String.IsEmpty(Skin.String(MovieAddon5)) + String.IsEmpty(Skin.String(MovieAddon6))]</enable>
<visible>!Skin.HasSetting(HideMoviesCategory)</visible>
Expand All @@ -1999,6 +2004,7 @@
<description>TV Shows</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[20343] - [COLOR=DefaultColor2]$INFO[Skin.String(TVShowsCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(TVShowsCategoryIconPath)</onclick>
<onclick>Skin.SetImage(TVShowsCategoryIconPath)</onclick>
<enable>Library.HasContent(TVShows) + [String.IsEmpty(Skin.String(TVShowAddon1)) + String.IsEmpty(Skin.String(TVShowAddon2)) + String.IsEmpty(Skin.String(TVShowAddon3)) + String.IsEmpty(Skin.String(TVShowAddon4)) + String.IsEmpty(Skin.String(TVShowAddon5)) + String.IsEmpty(Skin.String(TVShowAddon6))]</enable>
<visible>!Skin.HasSetting(HideTVShowsCategory)</visible>
Expand All @@ -2007,6 +2013,7 @@
<description>Add-ons</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[24001] - [COLOR=DefaultColor2]$INFO[Skin.String(AddonsCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(AddonsCategoryIconPath)</onclick>
<onclick>Skin.SetImage(AddonsCategoryIconPath)</onclick>
<enable>String.IsEmpty(Skin.String(AddonsAddon1)) + String.IsEmpty(Skin.String(AddonsAddon2)) + String.IsEmpty(Skin.String(AddonsAddon3)) + String.IsEmpty(Skin.String(AddonsAddon4)) + String.IsEmpty(Skin.String(AddonsAddon5)) + String.IsEmpty(Skin.String(AddonsAddon6))</enable>
<visible>!Skin.HasSetting(HideAddonsCategory)</visible>
Expand All @@ -2015,6 +2022,7 @@
<description>Games</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[15016] - [COLOR=DefaultColor2]$INFO[Skin.String(GamesCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(GamesCategoryIconPath)</onclick>
<onclick>Skin.SetImage(GamesCategoryIconPath)</onclick>
<enable>String.IsEmpty(Skin.String(GamesAddon1)) + String.IsEmpty(Skin.String(GamesAddon2)) + String.IsEmpty(Skin.String(GamesAddon3)) + String.IsEmpty(Skin.String(GamesAddon4)) + String.IsEmpty(Skin.String(GamesAddon5)) + String.IsEmpty(Skin.String(GamesAddon6))</enable>
<visible>!Skin.HasSetting(HideGamesCategory)</visible>
Expand All @@ -2023,6 +2031,7 @@
<description>Pictures</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[1] - [COLOR=DefaultColor2]$INFO[Skin.String(PicturesCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(PicturesCategoryIconPath)</onclick>
<onclick>Skin.SetImage(PicturesCategoryIconPath)</onclick>
<enable>String.IsEmpty(Skin.String(PicturesAddon1)) + String.IsEmpty(Skin.String(PicturesAddon2)) + String.IsEmpty(Skin.String(PicturesAddon3)) + String.IsEmpty(Skin.String(PicturesAddon4)) + String.IsEmpty(Skin.String(PicturesAddon5)) + String.IsEmpty(Skin.String(PicturesAddon6))</enable>
<visible>!Skin.HasSetting(HidePicturesCategory)</visible>
Expand All @@ -2031,13 +2040,15 @@
<description>Weather</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[8] - [COLOR=DefaultColor2]$INFO[Skin.String(WeatherCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(WeatherCategoryIconPath)</onclick>
<onclick>Skin.SetImage(WeatherCategoryIconPath)</onclick>
<visible>Skin.HasSetting(EnableWeatherCategory)</visible>
</control>
<control type="button" id="2411">
<description>General</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[128] - [COLOR=DefaultColor2]$INFO[Skin.String(GeneralCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(GeneralCategoryIconPath)</onclick>
<onclick>Skin.SetImage(GeneralCategoryIconPath)</onclick>
<enable>String.IsEmpty(Skin.String(GeneralAddon1)) + String.IsEmpty(Skin.String(GeneralAddon2)) + String.IsEmpty(Skin.String(GeneralAddon3)) + String.IsEmpty(Skin.String(GeneralAddon4)) + String.IsEmpty(Skin.String(GeneralAddon5)) + String.IsEmpty(Skin.String(GeneralAddon6))</enable>
<visible>!Skin.HasSetting(HideGeneralCategory)</visible>
Expand All @@ -2046,13 +2057,15 @@
<description>System</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[13000] - [COLOR=DefaultColor2]$INFO[Skin.String(SystemCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(SystemCategoryIconPath)</onclick>
<onclick>Skin.SetImage(SystemCategoryIconPath)</onclick>
<visible>!Skin.HasSetting(HideSystemCategory)</visible>
</control>
<control type="button" id="2413">
<description>Power</description>
<include>ExpandedSettingsListBtn</include>
<label>$LOCALIZE[33060] - [COLOR=DefaultColor2]$INFO[Skin.String(PowerCategoryIconPath)][/COLOR]</label>
<onclick>Skin.Reset(PowerCategoryIconPath)</onclick>
<onclick>Skin.SetImage(PowerCategoryIconPath)</onclick>
<ondown>2301</ondown>
<visible>!Skin.HasSetting(HidePowerCategory)</visible>
Expand Down

0 comments on commit d899e75

Please sign in to comment.