1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-27 07:44:34 +02:00

Merge pull request #239 from TheOneRing/win_app_id

install an app id on Windows, to enable Windows 8 notifications without ...
This commit is contained in:
Uwe L. Korn
2014-07-09 12:39:27 +02:00
2 changed files with 9 additions and 1 deletions

View File

@@ -81,7 +81,8 @@ SnoreNotifyPlugin::SnoreNotifyPlugin()
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << m_snore->primaryNotificationBackend();
m_application = Snore::Application( qApp->applicationName(), m_defaultIcon );
m_application.hints().setValue( "desktop-entry" ,"tomahawk" );
m_application.hints().setValue( "windows_app_id", "org.tomahawk-player.Tomahawk" );
m_application.hints().setValue( "desktop-entry", "tomahawk" );
addAlert( InfoNotifyUser, tr( "Notify User" ) );
addAlert( InfoNowPlaying, tr( "Now Playing" ) );