aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiff <spiff@xbmc.org>2012-10-26 11:10:32 +0200
committerspiff <spiff@xbmc.org>2012-10-26 11:10:32 +0200
commit050df739be706b4f28ce6745b36f5b6fdc60c780 (patch)
tree56931068d774b8c99517c11b11f1cbc0d670b22c
parentc71a1026dd171961d73cd4c5acb286ad1efe0032 (diff)
changed: disable PVR tab in system info if PVR is not running
m---------addons/skin.touched0
-rw-r--r--xbmc/windows/GUIWindowSystemInfo.cpp3
2 files changed, 3 insertions, 0 deletions
diff --git a/addons/skin.touched b/addons/skin.touched
-Subproject 1d03746646111f97e28b807a290bd762c7db547
+Subproject 6e29c2ebb85c75a44418b13b06e5bc0583905be
diff --git a/xbmc/windows/GUIWindowSystemInfo.cpp b/xbmc/windows/GUIWindowSystemInfo.cpp
index 4c78d3d5e9..57f0bbc5a8 100644
--- a/xbmc/windows/GUIWindowSystemInfo.cpp
+++ b/xbmc/windows/GUIWindowSystemInfo.cpp
@@ -24,6 +24,7 @@
#include "guilib/GUIWindowManager.h"
#include "guilib/Key.h"
#include "guilib/LocalizeStrings.h"
+#include "pvr/PVRManager.h"
#ifdef HAS_SYSINFO
#include "utils/SystemInfo.h"
#endif
@@ -58,6 +59,8 @@ bool CGUIWindowSystemInfo::OnMessage(CGUIMessage& message)
ResetLabels();
SET_CONTROL_LABEL(52, "XBMC " + g_infoManager.GetLabel(SYSTEM_BUILD_VERSION) +
" (Compiled: " + g_infoManager.GetLabel(SYSTEM_BUILD_DATE)+")");
+ CONTROL_ENABLE_ON_CONDITION(CONTROL_BT_PVR,
+ PVR::CPVRManager::Get().IsStarted());
return true;
}
break;