{#} Replies are directed back to [EMAIL PROTECTED]
{#} To reply to the author, write to Ben Rister <[EMAIL PROTECTED]>
Hi Colter,
OK, I looked over the code, and thought about things, and I eventually
reached the conclusion that idle really is a separate state from being
Available/Away/Busy/Invisible/etc. For example, one can be idle and
available, non-idle and available, idle and away, and non-idle and away.
It's really an unrelated property.
So, I don't think it's a good idea to roll idleness into the main state
variable any more than it is now. As to the question of the dock icon
displaying properly, I offer the following patch to remedy the situation.
The dock icon will work right, and when I get a chance, I'll spend some time
looking at how we can clean up some of the state that is scattered around
the application.
Best,
br
Index: MainController.m
===================================================================
RCS file: /cvsroot/fire/fire/MainController.m,v
retrieving revision 1.80
diff -u -r1.80 MainController.m
--- MainController.m 2002/01/29 16:07:07 1.80
+++ MainController.m 2002/01/30 04:41:55
@@ -839,7 +839,10 @@
[self updateIcon:icon withOnlineBuddies:count];
[self updateIcon:icon withOnlineAccounts:[serviceController accounts]];
- [self updateIcon:icon withUserState:[self state]];
+ if([self inIdleState])
+ [self updateIcon:icon withUserState:IDLE];
+ else
+ [self updateIcon:icon withUserState:[self state]];
[NSApp setApplicationIconImage:icon];
PS:
-updateIcon:withUserState: needs to be added to the MainController.h file
{#} ----------------------------------------------------+[ fire ]+---