mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
Add missing modifications
This commit is contained in:
parent
483c36748e
commit
ea063e1c39
@ -57,6 +57,7 @@ set(SOURCES
|
|||||||
analyzers/sonogram.cpp
|
analyzers/sonogram.cpp
|
||||||
analyzers/turbine.cpp
|
analyzers/turbine.cpp
|
||||||
|
|
||||||
|
core/appearance.cpp
|
||||||
core/backgroundstreams.cpp
|
core/backgroundstreams.cpp
|
||||||
core/backgroundthread.cpp
|
core/backgroundthread.cpp
|
||||||
core/closure.cpp
|
core/closure.cpp
|
||||||
@ -258,6 +259,7 @@ set(SOURCES
|
|||||||
ui/albumcovermanager.cpp
|
ui/albumcovermanager.cpp
|
||||||
ui/albumcovermanagerlist.cpp
|
ui/albumcovermanagerlist.cpp
|
||||||
ui/albumcoversearcher.cpp
|
ui/albumcoversearcher.cpp
|
||||||
|
ui/appearancesettingspage.cpp
|
||||||
ui/backgroundstreamssettingspage.cpp
|
ui/backgroundstreamssettingspage.cpp
|
||||||
ui/behavioursettingspage.cpp
|
ui/behavioursettingspage.cpp
|
||||||
ui/coverfromurldialog.cpp
|
ui/coverfromurldialog.cpp
|
||||||
@ -484,6 +486,7 @@ set(HEADERS
|
|||||||
ui/albumcovermanager.h
|
ui/albumcovermanager.h
|
||||||
ui/albumcovermanagerlist.h
|
ui/albumcovermanagerlist.h
|
||||||
ui/albumcoversearcher.h
|
ui/albumcoversearcher.h
|
||||||
|
ui/appearancesettingspage.h
|
||||||
ui/backgroundstreamssettingspage.h
|
ui/backgroundstreamssettingspage.h
|
||||||
ui/behavioursettingspage.h
|
ui/behavioursettingspage.h
|
||||||
ui/coverfromurldialog.h
|
ui/coverfromurldialog.h
|
||||||
@ -589,6 +592,7 @@ set(UI
|
|||||||
ui/addstreamdialog.ui
|
ui/addstreamdialog.ui
|
||||||
ui/albumcovermanager.ui
|
ui/albumcovermanager.ui
|
||||||
ui/albumcoversearcher.ui
|
ui/albumcoversearcher.ui
|
||||||
|
ui/appearancesettingspage.ui
|
||||||
ui/backgroundstreamssettingspage.ui
|
ui/backgroundstreamssettingspage.ui
|
||||||
ui/behavioursettingspage.ui
|
ui/behavioursettingspage.ui
|
||||||
ui/coverfromurldialog.ui
|
ui/coverfromurldialog.ui
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include "stylesheetloader.h"
|
#include "stylesheetloader.h"
|
||||||
#include "core/logging.h"
|
#include "core/logging.h"
|
||||||
|
|
||||||
#include <QtDebug>
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QEvent>
|
#include <QEvent>
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#endif // Q_OS_WIN32
|
#endif // Q_OS_WIN32
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include "core/appearance.h"
|
||||||
#include "core/commandlineoptions.h"
|
#include "core/commandlineoptions.h"
|
||||||
#include "core/crashreporting.h"
|
#include "core/crashreporting.h"
|
||||||
#include "core/database.h"
|
#include "core/database.h"
|
||||||
@ -357,6 +358,9 @@ int main(int argc, char *argv[]) {
|
|||||||
// Icons
|
// Icons
|
||||||
IconLoader::Init();
|
IconLoader::Init();
|
||||||
|
|
||||||
|
// Appearance (UI costumization)
|
||||||
|
Appearance appearance;
|
||||||
|
|
||||||
Echonest::Config::instance()->setAPIKey("DFLFLJBUF4EGTXHIG");
|
Echonest::Config::instance()->setAPIKey("DFLFLJBUF4EGTXHIG");
|
||||||
Echonest::Config::instance()->setNetworkAccessManager(new NetworkAccessManager);
|
Echonest::Config::instance()->setNetworkAccessManager(new NetworkAccessManager);
|
||||||
|
|
||||||
|
4674
src/translations/translations.pot
Normal file
4674
src/translations/translations.pot
Normal file
File diff suppressed because it is too large
Load Diff
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
|
#include "core/appearance.h"
|
||||||
#include "core/backgroundstreams.h"
|
#include "core/backgroundstreams.h"
|
||||||
#include "core/commandlineoptions.h"
|
#include "core/commandlineoptions.h"
|
||||||
#include "core/database.h"
|
#include "core/database.h"
|
||||||
@ -690,6 +691,8 @@ MainWindow::MainWindow(
|
|||||||
// Load theme
|
// Load theme
|
||||||
StyleSheetLoader* css_loader = new StyleSheetLoader(this);
|
StyleSheetLoader* css_loader = new StyleSheetLoader(this);
|
||||||
css_loader->SetStyleSheet(this, ":mainwindow.css");
|
css_loader->SetStyleSheet(this, ":mainwindow.css");
|
||||||
|
appearance_ = new Appearance(this);
|
||||||
|
appearance_->Load();
|
||||||
|
|
||||||
// Load playlists
|
// Load playlists
|
||||||
playlists_->Init(library_->backend(), playlist_backend_,
|
playlists_->Init(library_->backend(), playlist_backend_,
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
class About;
|
class About;
|
||||||
class AddStreamDialog;
|
class AddStreamDialog;
|
||||||
class AlbumCoverManager;
|
class AlbumCoverManager;
|
||||||
|
class Appearance;
|
||||||
class ArtistInfoView;
|
class ArtistInfoView;
|
||||||
class ArtLoader;
|
class ArtLoader;
|
||||||
class BackgroundStreams;
|
class BackgroundStreams;
|
||||||
@ -264,6 +265,7 @@ class MainWindow : public QMainWindow, public PlatformInterface {
|
|||||||
Ui_MainWindow* ui_;
|
Ui_MainWindow* ui_;
|
||||||
Windows7ThumbBar* thumbbar_;
|
Windows7ThumbBar* thumbbar_;
|
||||||
|
|
||||||
|
Appearance* appearance_;
|
||||||
SystemTrayIcon* tray_icon_;
|
SystemTrayIcon* tray_icon_;
|
||||||
OSD* osd_;
|
OSD* osd_;
|
||||||
boost::scoped_ptr<EditTagDialog> edit_tag_dialog_;
|
boost::scoped_ptr<EditTagDialog> edit_tag_dialog_;
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "appearancesettingspage.h"
|
||||||
#include "backgroundstreamssettingspage.h"
|
#include "backgroundstreamssettingspage.h"
|
||||||
#include "behavioursettingspage.h"
|
#include "behavioursettingspage.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -128,6 +129,7 @@ SettingsDialog::SettingsDialog(BackgroundStreams* streams, QWidget* parent)
|
|||||||
QTreeWidgetItem* iface = AddCategory(tr("User interface"));
|
QTreeWidgetItem* iface = AddCategory(tr("User interface"));
|
||||||
AddPage(Page_GlobalShortcuts, new GlobalShortcutsSettingsPage(this), iface);
|
AddPage(Page_GlobalShortcuts, new GlobalShortcutsSettingsPage(this), iface);
|
||||||
AddPage(Page_GlobalSearch, new GlobalSearchSettingsPage(this), iface);
|
AddPage(Page_GlobalSearch, new GlobalSearchSettingsPage(this), iface);
|
||||||
|
AddPage(Page_Appearance, new AppearanceSettingsPage(this), iface);
|
||||||
AddPage(Page_SongInformation, new SongInfoSettingsPage(this), iface);
|
AddPage(Page_SongInformation, new SongInfoSettingsPage(this), iface);
|
||||||
AddPage(Page_Notifications, new NotificationsSettingsPage(this), iface);
|
AddPage(Page_Notifications, new NotificationsSettingsPage(this), iface);
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ public:
|
|||||||
Page_SongInformation,
|
Page_SongInformation,
|
||||||
Page_GlobalShortcuts,
|
Page_GlobalShortcuts,
|
||||||
Page_GlobalSearch,
|
Page_GlobalSearch,
|
||||||
|
Page_Appearance,
|
||||||
Page_Notifications,
|
Page_Notifications,
|
||||||
Page_Library,
|
Page_Library,
|
||||||
Page_Lastfm,
|
Page_Lastfm,
|
||||||
|
Loading…
Reference in New Issue
Block a user