diff --git a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp index 18fd0a932..4676abbad 100644 --- a/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp +++ b/src/infoplugins/linux/fdonotify/FdoNotifyPlugin.cpp @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2010-2012, Jeff Mitchell * Copyright 2013-2014, Uwe L. Korn * @@ -49,6 +49,8 @@ #include "utils/Logger.h" #include "utils/TomahawkUtilsGui.h" +#include "config.h" + #include #include #include @@ -306,14 +308,14 @@ FdoNotifyPlugin::nowPlaying( const QVariant& input ) QDBusPendingReply<> reply = notifications_interface->Notify( - "Tomahawk", // app_name - m_nowPlayingId, // notification_id - "", // app_icon - "Tomahawk - Now Playing", // summary - messageText, // body - QStringList(), // actions - hints, // hints - -1 // expire_timeout + TOMAHAWK_APPLICATION_NAME, // app_name + m_nowPlayingId, // notification_id + "", // app_icon + tr( "Tomahawk - Now Playing" ), // summary + messageText, // body + QStringList(), // actions + hints, // hints + -1 // expire_timeout ); QDBusPendingCallWatcher* watcher = new QDBusPendingCallWatcher( reply, this );