forked from quicksilver/Quicksilver
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the search object and the actions in a more user friendly way
* I've tidied up the code changes I made at 910accd (removed the tempNewObject and tempCurrentObject objects) * Added the changes I made in 910accd to the `setObjectValue` method (to reduce the number of 'searchObjectChanged' messages sent) * Added the previous and current objects to the QSSearchObjectChanged `userInfo` dictionary (so that methods receiving the notif can see the different) * Made the actions reload only if the previous and new object's types are different (if the types are the same then the actions will be the same) * Altered the `updateActions` and `updateActionsNow` methods so that the latter clears the action pane. This means that you won't get a 'blinking' effect for 0.1s (the time between `updateActions` and `updateActionsNow` being called) while the 2nd pane is empty
- Loading branch information
1 parent
d976092
commit f113ef6
Showing
2 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters