Skip to content

Commit

Permalink
Merge pull request #8943 from ronie/dialognotification
Browse files Browse the repository at this point in the history
rename kaitoast xml to DialogNotification.xml
  • Loading branch information
MartijnKaijser committed Jan 23, 2016
2 parents 7244a9b + 1211e94 commit 1389ef9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions addons/resource.uisounds.confluence/resources/sounds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- To map a sound to a window, add a block like this to <windows>: -->
<!-- <window> -->
<!-- <name>infodialog</name> -->
<!-- <name>notification</name> -->
<!-- <activate>notify.wav</activate> -->
<!-- <deactivate>out.wav</deactivate> -->
<!-- </window> -->
Expand Down Expand Up @@ -74,7 +74,7 @@

<windows>
<window>
<name>infodialog</name>
<name>notification</name>
<activate>notify.wav</activate>
<deactivate>out.wav</deactivate>
</window>
Expand Down
2 changes: 1 addition & 1 deletion xbmc/dialogs/GUIDialogKaiToast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CGUIDialogKaiToast::TOASTQUEUE CGUIDialogKaiToast::m_notifications;
CCriticalSection CGUIDialogKaiToast::m_critical;

CGUIDialogKaiToast::CGUIDialogKaiToast(void)
: CGUIDialog(WINDOW_DIALOG_KAI_TOAST, "DialogKaiToast.xml", DialogModalityType::MODELESS)
: CGUIDialog(WINDOW_DIALOG_KAI_TOAST, "DialogNotification.xml", DialogModalityType::MODELESS)
{
m_loadType = LOAD_ON_GUI_INIT;
m_timer = 0;
Expand Down
3 changes: 2 additions & 1 deletion xbmc/input/ButtonTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ static const ActionMapping windows[] =
{ "submenu" , WINDOW_DIALOG_SUB_MENU },
{ "favourites" , WINDOW_DIALOG_FAVOURITES },
{ "contextmenu" , WINDOW_DIALOG_CONTEXT_MENU },
{ "infodialog" , WINDOW_DIALOG_KAI_TOAST },
{ "notification" , WINDOW_DIALOG_KAI_TOAST },
{ "infodialog" , WINDOW_DIALOG_KAI_TOAST }, // backward compat
{ "numericinput" , WINDOW_DIALOG_NUMERIC },
{ "gamepadinput" , WINDOW_DIALOG_GAMEPAD },
{ "shutdownmenu" , WINDOW_DIALOG_BUTTON_MENU },
Expand Down

0 comments on commit 1389ef9

Please sign in to comment.