summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-30 07:35:14 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-30 07:38:22 (GMT)
commitc759220a7fcd824a7a842a468c660558fa1a1cf1 (patch)
tree25fb113ce6d4789f2fd43cbbef4727b7cbca5b6c
parentbbd3bbf5747c28ec5925a89ea43fd4767d135f6e (diff)
downloadswift-c759220a7fcd824a7a842a468c660558fa1a1cf1.zip
swift-c759220a7fcd824a7a842a468c660558fa1a1cf1.tar.bz2
Register default Growl notifications correctly.
Release-Notes: When registering with Growl, we now request incoming message popups to be enabled by default.
-rw-r--r--SwifTools/Notifier/GrowlNotifier.cpp2
-rw-r--r--SwifTools/Notifier/GrowlNotifier.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/SwifTools/Notifier/GrowlNotifier.cpp b/SwifTools/Notifier/GrowlNotifier.cpp
index f373f1f..8b5920f 100644
--- a/SwifTools/Notifier/GrowlNotifier.cpp
+++ b/SwifTools/Notifier/GrowlNotifier.cpp
@@ -57,7 +57,7 @@ GrowlNotifier::GrowlNotifier(const String& name) {
// Default Notifications
CFMutableArrayRef defaultNotifications = CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks);
foreach(Type type, getDefaultTypes()) {
- CFArrayAppendValue(allNotifications, SWIFTEN_STRING_TO_CFSTRING(typeToString(type)));
+ CFArrayAppendValue(defaultNotifications, SWIFTEN_STRING_TO_CFSTRING(typeToString(type)));
}
// Initialize delegate
diff --git a/SwifTools/Notifier/GrowlNotifier.h b/SwifTools/Notifier/GrowlNotifier.h
index 5d618e6..f7c4260 100644
--- a/SwifTools/Notifier/GrowlNotifier.h
+++ b/SwifTools/Notifier/GrowlNotifier.h
@@ -18,7 +18,6 @@ namespace Swift {
* - Must be part a bundle.
* - The Carbon/Cocoa application loop must be running (e.g. through QApplication)
* such that notifications are coming through.
- * TODO: Find out what the easiest way is to do this without a QApplication.
*/
class GrowlNotifier : public Notifier {
public: