diff options
author | phil65 <philipptemminghoff@gmx.de> | 2015-12-02 16:11:54 +0100 |
---|---|---|
committer | phil65 <philipptemminghoff@gmx.de> | 2015-12-02 16:56:57 +0100 |
commit | 5a3f94ff27463829f4cf3f4e86f6357f8e58a929 (patch) | |
tree | 2d59304c8240df7cc2047f156819ba1564525dcd | |
parent | 6bcc4db1129fd65a3d97c9fa9a39437839622985 (diff) |
[GUI] remove "Add source" from MyPrograms section
-rw-r--r-- | xbmc/windows/GUIMediaWindow.cpp | 5 |
1 files 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' { |