Files
cappuccino/AppKit
Aparajita Fishman 69273259a5 More fixes to CPSearchField (Cocoa compliance and bugs):
- Added the ability to specify a separator in the template by using the tag CPSearchFieldSeparatorMenuItemTag.
- _recentSearches was not being initialized by -initWithCoder, moved that code into -_init.
- -setSearchMenuTemplate was not being invoked. Since having a recents menu is the default behavior in Cocoa, it should probably be the default behavior in cappuccino. To turn it off, set _maximumRecents to >= 254.
- -searchTextRectForBounds was using the wrong rect for -searchButtonRectForBounds and -cancelButtonRectForBounds, resulting in a rect that was too narrow and did not fill the space.
- Tightened up the spacing between the magnifying glass and the text to exactly Cocoa distance.
- Overhauled -
updateSearchMenu to fix some logic bugs.
- Made sure the search field becomes first responder after closing the search menu.
- Cleared the search string when clearing recent searches, this is what Safari does.
- Removed redundant invoking of -setDelegate in -initWithCoder.
- -_init has to be called last in _initWithCoder.
2010-07-23 22:37:28 -04:00
..
2010-06-10 16:42:28 -05:00
2010-07-23 17:18:08 -04:00
2010-07-22 00:21:02 -05:00
2010-07-22 00:21:02 -05:00
2010-07-22 00:21:02 -05:00
2010-04-26 11:11:42 -04:00
2010-06-10 16:42:28 -05:00
2010-04-09 14:17:11 -07:00
2010-06-10 16:42:28 -05:00
2010-03-22 14:43:53 -07:00
2009-05-18 15:43:36 -07:00
2009-10-19 16:52:19 -07:00
2009-10-08 12:58:22 -07:00
2010-04-09 14:17:11 -07:00
2010-03-26 10:36:08 -07:00
2009-05-18 15:43:36 -07:00
2009-05-18 15:43:36 -07:00
2009-05-18 15:43:36 -07:00
2010-06-10 16:42:28 -05:00
2010-07-23 18:02:51 -04:00
2010-07-22 00:21:02 -05:00
2010-03-06 00:01:36 -08:00
2009-12-16 00:22:35 -05:00
2010-07-23 16:21:38 -04:00
2010-01-29 08:04:00 -08:00
2010-07-22 00:21:02 -05:00
2009-11-02 15:59:42 -08:00