Skip to content

Commit

Permalink
Merge pull request #8910 from phil65/merge_playlist_windows
Browse files Browse the repository at this point in the history
[gui] merge skin XMLs for MusicPlaylist and VideoPlaylist
  • Loading branch information
razzeee committed Jan 26, 2016
2 parents d857f48 + 2a4b795 commit e66ee42
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
<include>MainWindowMouseButtons</include>
<include>BehindDialogFadeOut</include>
<include>ScrollOffsetLabel</include>
<include name="CommonWindowHeader">
<include name="CommonWindowHeader" condition="Window.IsActive(videoplaylist)">
<param name="Icon" value="icon_video" />
<param name="Label" value="$LOCALIZE[10522]" />
</include>
<include name="CommonWindowHeader" condition="Window.IsActive(musicplaylist)">
<param name="Icon" value="icon_music" />
<param name="Label" value="$LOCALIZE[10517]" />
</include>
Expand Down Expand Up @@ -86,7 +90,8 @@
<control type="button" id="22">
<description>Clear button</description>
<label>192</label>
<onclick>ReplaceWindow(music)</onclick>
<onclick condition="Window.IsActive(musicplaylist)">ReplaceWindow(music)</onclick>
<onclick condition="Window.IsActive(videoplaylist)">ReplaceWindow(Videos)</onclick>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
</control>
Expand Down
95 changes: 0 additions & 95 deletions addons/skin.confluence/720p/MyVideoPlaylist.xml

This file was deleted.

2 changes: 1 addition & 1 deletion xbmc/music/windows/GUIWindowMusicPlaylist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ using namespace PLAYLIST;
#define CONTROL_BTNREPEAT 26

CGUIWindowMusicPlayList::CGUIWindowMusicPlayList(void)
: CGUIWindowMusicBase(WINDOW_MUSIC_PLAYLIST, "MyMusicPlaylist.xml")
: CGUIWindowMusicBase(WINDOW_MUSIC_PLAYLIST, "MyPlaylist.xml")
{
m_musicInfoLoader.SetObserver(this);
m_movingFrom = -1;
Expand Down
2 changes: 1 addition & 1 deletion xbmc/video/windows/GUIWindowVideoPlaylist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ using namespace PLAYLIST;
#define CONTROL_BTNREPEAT 26

CGUIWindowVideoPlaylist::CGUIWindowVideoPlaylist()
: CGUIWindowVideoBase(WINDOW_VIDEO_PLAYLIST, "MyVideoPlaylist.xml")
: CGUIWindowVideoBase(WINDOW_VIDEO_PLAYLIST, "MyPlaylist.xml")
{
m_movingFrom = -1;
}
Expand Down

0 comments on commit e66ee42

Please sign in to comment.