Revision: 7423
http://skim-app.svn.sourceforge.net/skim-app/?rev=7423&view=rev
Author: hofman
Date: 2011-08-07 10:27:22 +0000 (Sun, 07 Aug 2011)
Log Message:
-----------
make sure toolbar is not in text only mode when searching notes document
Modified Paths:
--------------
trunk/SKNotesDocument.m
Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m 2011-08-06 17:41:40 UTC (rev 7422)
+++ trunk/SKNotesDocument.m 2011-08-07 10:27:22 UTC (rev 7423)
@@ -518,6 +518,8 @@
if ([sender tag] == NSFindPanelActionShowFindPanel) {
NSToolbar *toolbar = [[[[self windowControllers] objectAtIndex:0]
window] toolbar];
if ([[[toolbar items] valueForKey:@"itemIdentifier"]
containsObject:SKNotesDocumentSearchToolbarItemIdentifier]) {
+ if ([toolbar displayMode] == NSToolbarDisplayModeLabelOnly)
+ [toolbar setDisplayMode:NSToolbarDisplayModeDefault];
[toolbar setVisible:YES];
[searchField selectText:nil];
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit