mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user