Revision: 2590
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2590&view=rev
Author:   hofman
Date:     2007-07-30 09:32:46 -0700 (Mon, 30 Jul 2007)

Log Message:
-----------
Set window frame autosave name for find panel.

Modified Paths:
--------------
    trunk/SKFindController.m

Modified: trunk/SKFindController.m
===================================================================
--- trunk/SKFindController.m    2007-07-30 16:22:12 UTC (rev 2589)
+++ trunk/SKFindController.m    2007-07-30 16:32:46 UTC (rev 2590)
@@ -41,6 +41,7 @@
 #import "SKDocument.h"
 #import <Quartz/Quartz.h>
 
+static NSString *SKFindPanelFrameAutosaveName = @"SKFindPanel";
 
 @implementation SKFindController
 
@@ -85,6 +86,11 @@
 
 - (NSString *)windowNibName { return @"FindPanel"; }
 
+- (void)awakeFromNib {
+    if (self == sharedFindController)
+        [self setWindowFrameAutosaveName:SKFindPanelFrameAutosaveName];
+}
+
 - (IBAction)performFindPanelAction:(id)sender {
        switch ([sender tag]) {
                case NSFindPanelActionShowFindPanel:


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to