Bumping to version 1.0.1, which uses the latest ITKit. This resolves GrowlITTSW bug #4.
[GrowlITTSW.git] / GrowlITTSWDisplay.m
index b6727e8..d43a5b5 100644 (file)
        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