All icon file names moved to icons.h; .raw extension removed from icon names

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@219 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 95130dee5a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-01-29 (Fri, 29 Jan 2010)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2010-01-29 14:09:57 +00:00
parent b41ed62ef5
commit f99ade5d07
36 changed files with 271 additions and 230 deletions

View File

@@ -382,7 +382,7 @@ void CUpnpBrowserGui::selectDevice()
catch (std::runtime_error error)
{
delete scanBox;
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, "info.raw");
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
return;
}
#endif
@@ -391,7 +391,7 @@ void CUpnpBrowserGui::selectDevice()
if (!m_devices.size())
{
ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_UPNPBROWSER_NOSERVERS, CMessageBox::mbrBack, CMessageBox::mbBack, "info.raw");
ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_UPNPBROWSER_NOSERVERS, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
delete scanBox;
return;
}
@@ -450,7 +450,7 @@ void CUpnpBrowserGui::selectDevice()
catch (std::runtime_error error)
{
delete scanBox;
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, "info.raw");
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
return;
}
#endif
@@ -458,7 +458,7 @@ void CUpnpBrowserGui::selectDevice()
scanBox->hide();
if (!m_devices.size())
{
ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_UPNPBROWSER_NOSERVERS, CMessageBox::mbrBack, CMessageBox::mbBack, "info.raw");
ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_UPNPBROWSER_NOSERVERS, CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
delete scanBox;
return;
}
@@ -520,7 +520,7 @@ void CUpnpBrowserGui::playnext(void)
}
catch (std::runtime_error error)
{
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, "info.raw");
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
m_folderplay = false;
return;
}
@@ -641,7 +641,7 @@ bool CUpnpBrowserGui::selectItem(std::string id)
}
catch (std::runtime_error error)
{
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, "info.raw");
ShowMsgUTF(LOCALE_MESSAGEBOX_INFO, error.what(), CMessageBox::mbrBack, CMessageBox::mbBack, NEUTRINO_ICON_INFO);
if (entries)
delete entries;
return endall;
@@ -947,19 +947,19 @@ void CUpnpBrowserGui::paintItemPos(std::vector<UPnPEntry> *entry, unsigned int p
if ((*entry)[pos].isdir)
{
info = "<DIR>";
fileicon = "folder.raw";
fileicon = NEUTRINO_ICON_FOLDER;
}
else
{
if (preferred != -1)
{
info = (*entry)[pos].resources[preferred].duration;
fileicon = "mp3.raw";
fileicon = NEUTRINO_ICON_MP3;
}
else
{
info = "(none)";
fileicon = "file.raw";
fileicon = NEUTRINO_ICON_FILE;
}
}