Revision: 4807
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4807&view=rev
Author:   hofman
Date:     2008-10-16 17:23:12 +0000 (Thu, 16 Oct 2008)

Log Message:
-----------
set window title of ps/dvi conversion 

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

Modified: trunk/SKPSProgressController.m
===================================================================
--- trunk/SKPSProgressController.m      2008-10-16 13:20:42 UTC (rev 4806)
+++ trunk/SKPSProgressController.m      2008-10-16 17:23:12 UTC (rev 4807)
@@ -122,7 +122,7 @@
 - (void)awakeFromNib
 {
     [progressBar setUsesThreadedAnimation:YES];
-    [[self window] setTitle:@""];
+    [[self window] setTitle:[NSString 
stringWithFormat:NSLocalizedString(@"Converting %@", @"PS conversion progress 
message"), [[NSDocumentController sharedDocumentController] 
displayNameForType:[self fileType]]]];
 }
 
 - (NSString *)windowNibName { return @"ConversionProgressWindow"; }
@@ -191,7 +191,7 @@
 - (void)conversionStarted;
 {
     [progressBar startAnimation:nil];
-    [textField setStringValue:[[NSString 
stringWithFormat:NSLocalizedString(@"Converting %@", @"PS conversion progress 
message"), [[NSDocumentController sharedDocumentController] 
displayNameForType:[self fileType]]] stringByAppendingEllipsis]];
+    [textField setStringValue:[[[self window] title] 
stringByAppendingEllipsis]];
 }
 
 @end


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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to