[super dealloc];
}
-/* - (NSPreferencePane *) preferencePane {
- if (!preferencePane)
- preferencePane = [[GrowlITTSWPrefs alloc] initWithBundle:[NSBundle bundleWithIdentifier:@"com.ithinksw.growl.ittsw"]];
+- (NSPreferencePane *) preferencePane {
+ if (!preferencePane) {
+ preferencePane = [[GrowlITTSWPrefs alloc] initWithBundle:[NSBundle bundleWithIdentifier:@"com.ithinksw.growl-ittsw"]];
+ }
return preferencePane;
-}*/
+}
//we implement requiresPositioning entirely because it was added as a requirement for doing 1.1 plugins, however
//we don't really care if positioning is required or not, because we are only ever in the menubar.
NSString *title = [dict objectForKey:GROWL_NOTIFICATION_TITLE];
NSString *desc = [dict objectForKey:GROWL_NOTIFICATION_DESCRIPTION];
NSImage *image = [dict objectForKey:GROWL_NOTIFICATION_ICON];
- NSString *text;
- if (desc) {
- text = [title stringByAppendingFormat:@"\n%@", desc];
- } else {
- text = title;
- }
- [[GrowlITTSWController sharedController] showWindowWithText:text image:image];
+ [[GrowlITTSWController sharedController] showWindowWithTitle:title desc:desc image:image];
}
@end