diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-05 15:14:08 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-05 15:24:54 (GMT) |
commit | 6cdd48b30526761f5c6365496e30580ed3bd8a82 (patch) | |
tree | 790a96ee6a70054165264171a31ead5e8e598baf /Swift/QtUI/QtSwift.cpp | |
parent | cd3017c8730ce66539d539890d72434cf644ab80 (diff) | |
download | swift-contrib-6cdd48b30526761f5c6365496e30580ed3bd8a82.zip swift-contrib-6cdd48b30526761f5c6365496e30580ed3bd8a82.tar.bz2 |
Added FreeDesktopNotifier.
Diffstat (limited to 'Swift/QtUI/QtSwift.cpp')
-rw-r--r-- | Swift/QtUI/QtSwift.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSwift.cpp b/Swift/QtUI/QtSwift.cpp index 13543af..26d1664 100644 --- a/Swift/QtUI/QtSwift.cpp +++ b/Swift/QtUI/QtSwift.cpp @@ -41,6 +41,8 @@ #elif defined(HAVE_SNARL) #include "QtWin32NotifierWindow.h" #include "SwifTools/Notifier/SnarlNotifier.h" +#elif defined(SWIFTEN_PLATFORM_LINUX) +#include "FreeDesktopNotifier.h" #else #include "SwifTools/Notifier/NullNotifier.h" #endif @@ -103,6 +105,8 @@ QtSwift::QtSwift(po::variables_map options) : autoUpdater_(NULL) { #elif defined(HAVE_SNARL) notifierWindow_ = new QtWin32NotifierWindow(); notifier_ = new SnarlNotifier(SWIFT_APPLICATION_NAME, notifierWindow_, applicationPathProvider_->getResourcePath("/images/logo-icon-32.png")); +#elif defined(SWIFTEN_PLATFORM_LINUX) + notifier_ = new FreeDesktopNotifier(SWIFT_APPLICATION_NAME); #else notifier_ = new NullNotifier(); #endif |