Skip to content

Commit

Permalink
Merge pull request #7776 from mkortstiege/hasmodaldialog
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins4kodi committed Aug 12, 2015
2 parents b3ec824 + dbb9029 commit 62ad21a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/GUIInfoManager.cpp
Expand Up @@ -245,6 +245,7 @@ const infomap system_labels[] = {{ "hasnetwork", SYSTEM_ETHERNET_LINK_ACT
{ "trayopen", SYSTEM_TRAYOPEN },
{ "haslocks", SYSTEM_HASLOCKS },
{ "hasloginscreen", SYSTEM_HAS_LOGINSCREEN },
{ "hasmodaldialog", SYSTEM_HAS_MODAL_DIALOG },
{ "ismaster", SYSTEM_ISMASTER },
{ "isfullscreen", SYSTEM_ISFULLSCREEN },
{ "isstandalone", SYSTEM_ISSTANDALONE },
Expand Down Expand Up @@ -2451,6 +2452,8 @@ bool CGUIInfoManager::GetBool(int condition1, int contextWindow, const CGUIListI
bReturn = g_advancedSettings.m_showExitButton;
else if (condition == SYSTEM_HAS_LOGINSCREEN)
bReturn = CProfilesManager::Get().UsingLoginScreen();
else if (condition == SYSTEM_HAS_MODAL_DIALOG)
bReturn = g_windowManager.HasModalDialog();
else if (condition == WEATHER_IS_FETCHED)
bReturn = g_weatherManager.IsFetched();
else if (condition >= PVR_CONDITIONS_START && condition <= PVR_CONDITIONS_END)
Expand Down
1 change: 1 addition & 0 deletions xbmc/guiinfo/GUIInfoLabels.h
Expand Up @@ -125,6 +125,7 @@
#define SYSTEM_PROFILENAME 146
#define SYSTEM_PROFILETHUMB 147
#define SYSTEM_HAS_LOGINSCREEN 148
#define SYSTEM_HAS_MODAL_DIALOG 149
#define SYSTEM_HDD_SMART 150
#define SYSTEM_HDD_TEMPERATURE 151
#define SYSTEM_HDD_MODEL 152
Expand Down

0 comments on commit 62ad21a

Please sign in to comment.