Revision: 27865
http://sourceforge.net/p/bibdesk/svn/27865
Author: hofman
Date: 2022-09-07 09:36:19 +0000 (Wed, 07 Sep 2022)
Log Message:
-----------
use status image names
Modified Paths:
--------------
trunk/bibdesk/BibPref_Sharing.m
Modified: trunk/bibdesk/BibPref_Sharing.m
===================================================================
--- trunk/bibdesk/BibPref_Sharing.m 2022-09-07 09:09:47 UTC (rev 27864)
+++ trunk/bibdesk/BibPref_Sharing.m 2022-09-07 09:36:19 UTC (rev 27865)
@@ -121,19 +121,19 @@
NSUInteger number = [server numberOfConnections];
if ([server status] < BDSKSharingStatusPublishing) {
statusMessage = [NSString
stringWithFormat:NSLocalizedString(@"Standby", @"Bonjour sharing is standby
status message"), number];
- imageName = @"NSStatusPartiallyAvailable";
+ imageName = NSImageNameStatusPartiallyAvailable;
} else {
if (number == 1)
statusMessage = NSLocalizedString(@"On, 1 user connected",
@"Bonjour sharing is on status message, single connection");
else
statusMessage = [NSString
stringWithFormat:NSLocalizedString(@"On, %lu users connected", @"Bonjour
sharing is on status message, zero or multiple connections"), (unsigned
long)number];
- imageName = @"NSStatusAvailable";
+ imageName = NSImageNameStatusAvailable;
}
if ([server status] >= BDSKSharingStatusPublishing)
sharingName = [server sharingName];
} else {
statusMessage = NSLocalizedString(@"Off", @"Bonjour sharing is off
status message");
- imageName = @"NSStatusUnavailable";
+ imageName = NSImageNameStatusUnavailable;
}
[statusField setStringValue:statusMessage];
[statusImageView setImage:[NSImage imageNamed:imageName]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit