1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 01:00:13 +02:00

install an app id on Windows, to enable Windows 8 notifications without the need to install an extra fallback shortcut to the startmenu

This commit is contained in:
Patrick von Reth
2014-07-09 10:39:43 +02:00
parent 07e47713e9
commit 1647ccb473
2 changed files with 8 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" ) );