git.ithinksw.org
/
GrowlITTSW.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented preference pane.
[GrowlITTSW.git]
/
GrowlITTSWWindow.m
diff --git
a/GrowlITTSWWindow.m
b/GrowlITTSWWindow.m
index
0616224
..
db280be
100644
(file)
--- a/
GrowlITTSWWindow.m
+++ b/
GrowlITTSWWindow.m
@@
-60,6
+60,9
@@
- (void)setImage:(NSImage *)newImage
{
- (void)setImage:(NSImage *)newImage
{
+ if (!newImage) {
+ newImage = [NSImage imageNamed:@"NSApplicationIcon"];
+ }
[_image autorelease];
_image = [newImage copy];
}
[_image autorelease];
_image = [newImage copy];
}