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:
@@ -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" ) );
|
||||
|
Reference in New Issue
Block a user