Revision: 6339
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6339&view=rev
Author:   hofman
Date:     2010-03-18 12:39:51 +0000 (Thu, 18 Mar 2010)

Log Message:
-----------
don't localize title of popup because that's done indirectly by localizing the 
menu

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

Modified: trunk/SKLocalization.m
===================================================================
--- trunk/SKLocalization.m      2010-03-18 12:27:21 UTC (rev 6338)
+++ trunk/SKLocalization.m      2010-03-18 12:39:51 UTC (rev 6339)
@@ -88,7 +88,7 @@
 
 - (void)localizeStringsFromTable:(NSString *)table {
     [super localizeStringsFromTable:table];
-    if ([self imagePosition] != NSImageOnly) {
+    if ([self imagePosition] != NSImageOnly && [self 
isKindOfClass:[NSPopUpButtonCell class]] == NO) {
         localizeStringForObjectFromTable(self, TITLE_KEY, table);
         localizeStringForObjectFromTable(self, ALTERNATETITLE_KEY, table);
     }


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to