From 5a3f94ff27463829f4cf3f4e86f6357f8e58a929 Mon Sep 17 00:00:00 2001 From: phil65 Date: Wed, 2 Dec 2015 16:11:54 +0100 Subject: [GUI] remove "Add source" from MyPrograms section --- xbmc/windows/GUIMediaWindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xbmc/windows/GUIMediaWindow.cpp b/xbmc/windows/GUIMediaWindow.cpp index 36f035f73e..08aa7a86f4 100644 --- a/xbmc/windows/GUIMediaWindow.cpp +++ b/xbmc/windows/GUIMediaWindow.cpp @@ -777,7 +777,7 @@ bool CGUIMediaWindow::Update(const std::string &strDirectory, bool updateFilterP showLabel = 997; else if (iWindow == WINDOW_MUSIC_FILES) showLabel = 998; - else if (iWindow == WINDOW_FILES || iWindow == WINDOW_PROGRAMS) + else if (iWindow == WINDOW_FILES) showLabel = 1026; } if (m_vecItems->IsPath("sources://video/")) @@ -786,8 +786,7 @@ bool CGUIMediaWindow::Update(const std::string &strDirectory, bool updateFilterP showLabel = 998; else if (m_vecItems->IsPath("sources://pictures/")) showLabel = 997; - else if (m_vecItems->IsPath("sources://programs/") || - m_vecItems->IsPath("sources://files/")) + else if (m_vecItems->IsPath("sources://files/")) showLabel = 1026; if (showLabel && (m_vecItems->Size() == 0 || !m_guiState->DisableAddSourceButtons())) // add 'add source button' { -- cgit v1.2.3