Use standard theme icon for collections page
This commit is contained in:
committed by
craig.p.drummond
parent
ba881e6457
commit
160f92467a
@@ -61,10 +61,6 @@
|
||||
<file alias="artist64.png">icons/view-media-artist64.png</file>
|
||||
<file alias="artist128.png">icons/view-media-artist128.png</file>
|
||||
<file alias="artist.svg">icons/view-media-artist.svg</file>
|
||||
<file alias="lib16.png">icons/view-media-library16.png</file>
|
||||
<file alias="lib22.png">icons/view-media-library22.png</file>
|
||||
<file alias="lib32.png">icons/view-media-library32.png</file>
|
||||
<file alias="lib48.png">icons/view-media-library48.png</file>
|
||||
<file alias="radio16.png">icons/view-radiostream16.png</file>
|
||||
<file alias="radio22.png">icons/view-radiostream22.png</file>
|
||||
<file alias="radio32.png">icons/view-radiostream32.png</file>
|
||||
|
||||
@@ -78,7 +78,7 @@ InitialSettingsWizard::InitialSettingsWizard(QWidget *p)
|
||||
#else
|
||||
introPage->setBackground(Icons::self()->appIcon);
|
||||
#endif
|
||||
connectionPage->setBackground(Icons::self()->libraryIcon);
|
||||
connectionPage->setBackground(Icons::self()->audioFileIcon);
|
||||
filesPage->setBackground(Icons::self()->filesIcon);
|
||||
finishedPage->setBackground(Icon("dialog-ok"));
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent)
|
||||
interface->load();
|
||||
context->load();
|
||||
scrobbling->load();
|
||||
pages.insert(QLatin1String("collection"), pageWidget->addPage(server, i18n("Collection"), Icons::self()->libraryIcon, i18n("Collection Settings")));
|
||||
pages.insert(QLatin1String("collection"), pageWidget->addPage(server, i18n("Collection"), Icons::self()->audioFileIcon, i18n("Collection Settings")));
|
||||
pageWidget->addPage(playback, i18n("Playback"), Icon("media-playback-start"), i18n("Playback Settings"));
|
||||
pageWidget->addPage(files, i18n("Files"), Icons::self()->filesIcon, i18n("File Settings"));
|
||||
pages.insert(QLatin1String("interface"), pageWidget->addPage(interface, i18n("Interface"), Icon("preferences-other"), i18n("Interface Settings")));
|
||||
@@ -102,11 +102,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent)
|
||||
http = new HttpServerSettings(0);
|
||||
if (http->haveMultipleInterfaces()) {
|
||||
http->load();
|
||||
Icon icon("network-server");
|
||||
if (icon.isNull()) {
|
||||
icon=Icons::self()->audioFileIcon;
|
||||
}
|
||||
pageWidget->addPage(http, i18n("HTTP Server"), icon, i18n("HTTP Server Settings"));
|
||||
pageWidget->addPage(http, i18n("HTTP Server"), Icon("network-server"), i18n("HTTP Server Settings"));
|
||||
} else {
|
||||
http->deleteLater();
|
||||
http=0;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 525 B |
Binary file not shown.
|
Before Width: | Height: | Size: 698 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1002 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -405,7 +405,6 @@ Icons::Icons()
|
||||
if (importIcon.isNull()) {
|
||||
importIcon=Icon("down");
|
||||
}
|
||||
libraryIcon=Icon::create("lib", constStdSizes);
|
||||
radioStreamIcon=Icon::create("radio", constStdSizes);
|
||||
addRadioStreamIcon=Icon::create("addradio", constStdSizes);
|
||||
variousArtistsIcon=Icon::create("va", QList<int>() << 16 << 22 << 32 << 48 << 64 << 128, true);
|
||||
@@ -466,7 +465,7 @@ Icons::Icons()
|
||||
|
||||
#ifdef ENABLE_STREAMS
|
||||
if (streamCategoryIcon.isNull()) {
|
||||
streamCategoryIcon=libraryIcon;
|
||||
streamCategoryIcon=folderIcon;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -54,7 +54,6 @@ public:
|
||||
Icon consumeIcon;
|
||||
Icon repeatIcon;
|
||||
Icon shuffleIcon;
|
||||
Icon libraryIcon;
|
||||
#ifdef ENABLE_STREAMS
|
||||
Icon streamCategoryIcon;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user