New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchro issues #388
Asynchro issues #388
Conversation
Make your life easier. Just put “closes #339” or something like that in the commit message. The issue will then refer to this pull request automatically (no need to go post a link back to here manually) and when this gets merged, those issues will close on their own. :) |
Oh yeah, I think you mentioned that before. Thanks for the link, definitely On 23 June 2011 00:01, skurfer <
|
@@ -375,7 +371,7 @@ NSArray *recentDocumentsForBundle(NSString *bundleIdentifier) { | |||
theImage = [self prepareImageforIcon:theImage]; | |||
|
|||
[object setIcon:theImage]; | |||
[[NSNotificationCenter defaultCenter] postNotificationName:@"ObjectModified" object:object]; | |||
[[NSNotificationCenter defaultCenter] postNotificationName:@"ObjectIconModified" object:object]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you define a constant in Code-QuickStepCore/QSNotifications.h for the notification name and document it with a few words?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. I'll do that (tomorrow-ish) for the ObjectModified notif as well if it hasn't already been done (tired)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I've doe that now. The last two commits do this.
Cool. I knew there were a few problems with it, but never got around to looking at it. |
@@ -13,6 +13,7 @@ | |||
@interface QSFileSystemObjectHandler : NSObject { | |||
NSMutableDictionary *applicationIcons; | |||
} | |||
- (NSArray *)actionsForDirectObject:(QSObject *)dObject indirectObject:(QSObject *)iObject; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm? why wasn't this here...of why is it needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure now since I made this change a while ago. I have a feeling that line 287 of QSExecutor.m may have given me a warning at some point or something like that. I'm not entirely sure :/
Just tried it without this line and I don't get any different behaviour...
I've made a few changes. See what you think :) There's still the debate of the |
I've had another look at QSObject_FileHandling.h and I must say it's quite a mess. As I said: it's a mess. But all of this is not really related to this pull request, so maybe it should be merged anyway, and it should be clean up in another pull request. But on the other hand, since you were already working on this file, maybe you could just clean it up now. I don't know, your choice. :-) But I also want to add some encouraging words: I've been running this for a while now and it works great. :-) |
Tell me something that isn't new! :P
There are a couple of other things I want to be working on right now, and to
Awesome, thanks :) On 30 June 2011 14:13, HenningJ <
|
Ok, fine with me. Add that and I will merge it. :-) |
Yaya! I've done that :) @skurfer — also stuck in a sneaky couple of |
yay |
Cool. For what it’s worth at this point, I’ve also been running this for some time without issue. |
There were a few problems that people had reported with the asynchro icon loading changes.
This pull request hopefully fixes them.
Outside of adding a few comments and altering some header files to tidy them up, here's what I've done: