Small fixes.
This commit is contained in:
1 parent
75e5b85cfc
commit
ff5ac492a0
9 files changed
+114
-113
No files matched your search
@@ -51,8 +51,8 @@
|
||||
[self.sourceLabel setStringValue:[self.item.URL path]];
|
||||
[self.destinationLabel setStringValue:[self.item.destURL path]];
|
||||
|
||||
NSMutableString *actions = [[NSMutableString alloc] init];
|
||||
for (id<SBQueueActionProtocol> action in self.item.actionsArray) {
|
||||
NSMutableString *actions = [[[NSMutableString alloc] init] autorelease];
|
||||
for (id<SBQueueActionProtocol> action in self.item.actions) {
|
||||
[actions appendString:[NSString stringWithFormat:@"%@\n", [action description]]];
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
}
|
||||
|
||||
NSSize frameSize = self.view.frame.size;
|
||||
frameSize.height += [self.item.actionsArray count] ? self.actionsLabel.frame.size.height * ([self.item.actionsArray count] - 1) : 0;
|
||||
frameSize.height += [self.item.actions count] ? self.actionsLabel.frame.size.height * ([self.item.actions count] - 1) : 0;
|
||||
[self.view setFrameSize:frameSize];
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
NSMutableDictionary *_options;
|
||||
|
||||
NSURL *_destination;
|
||||
BOOL _customDestination;
|
||||
}
|
||||
|
||||
- (instancetype)initWithOptions:(NSMutableDictionary *)options;
|
||||
|
||||
@@ -18,11 +18,14 @@
|
||||
- (IBAction)chooseDestination:(id)sender;
|
||||
- (IBAction)destination:(id)sender;
|
||||
|
||||
@property (nonatomic, retain) NSURL *destination;
|
||||
|
||||
@end
|
||||
|
||||
@implementation SBOptionsViewController
|
||||
|
||||
@synthesize options = _options;
|
||||
@synthesize destination = _destination;
|
||||
|
||||
- (instancetype)initWithOptions:(NSMutableDictionary *)options {
|
||||
self = [self init];
|
||||
@@ -46,32 +49,93 @@
|
||||
[self prepareSetsPopup];
|
||||
}
|
||||
|
||||
- (BOOL)validateUserInterfaceItem:(id < NSValidatedUserInterfaceItem >)anItem {
|
||||
SEL action = [anItem action];
|
||||
|
||||
if (action == @selector(chooseDestination:))
|
||||
return YES;
|
||||
|
||||
if (action == @selector(destination:))
|
||||
return YES;
|
||||
|
||||
if (action == @selector(applySet:))
|
||||
return YES;
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void)prepareDestPopup {
|
||||
NSMenuItem *folderItem = nil;
|
||||
|
||||
if ([self.options valueForKey:@"SBQueueDestination"]) {
|
||||
_destination = [[self.options valueForKey:@"SBQueueDestination"] retain];
|
||||
self.destination = [self.options valueForKey:@"SBQueueDestination"];
|
||||
|
||||
if (![[NSFileManager defaultManager] fileExistsAtPath:[_destination path] isDirectory:nil])
|
||||
_destination = nil;
|
||||
if (![[NSFileManager defaultManager] fileExistsAtPath:[self.destination path] isDirectory:nil])
|
||||
self.destination = nil;
|
||||
}
|
||||
|
||||
if (!_destination) {
|
||||
if (!self.destination) {
|
||||
NSArray *allPaths = NSSearchPathForDirectoriesInDomains(NSMoviesDirectory,
|
||||
NSUserDomainMask,
|
||||
YES);
|
||||
if ([allPaths count])
|
||||
_destination = [[NSURL fileURLWithPath:[allPaths lastObject]] retain];;
|
||||
if ([allPaths count]) {
|
||||
self.destination = [NSURL fileURLWithPath:[allPaths lastObject]];
|
||||
}
|
||||
}
|
||||
|
||||
folderItem = [self prepareDestPopupItem:_destination];
|
||||
folderItem = [self prepareDestPopupItem:self.destination];
|
||||
|
||||
[[_destButton menu] insertItem:[NSMenuItem separatorItem] atIndex:0];
|
||||
[[_destButton menu] insertItem:folderItem atIndex:0];
|
||||
|
||||
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"SBQueueDestinationSelected"] boolValue]) {
|
||||
if ([self.options valueForKey:@"SBQueueDestination"]) {
|
||||
[_destButton selectItem:folderItem];
|
||||
_customDestination = YES;
|
||||
} else {
|
||||
[_destButton selectItemWithTag:10];
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)chooseDestination:(id)sender {
|
||||
NSOpenPanel *panel = [NSOpenPanel openPanel];
|
||||
panel.allowsMultipleSelection = NO;
|
||||
panel.canChooseFiles = NO;
|
||||
panel.canChooseDirectories = YES;
|
||||
panel.canCreateDirectories = YES;
|
||||
|
||||
[panel setPrompt:@"Select"];
|
||||
[panel beginSheetModalForWindow:nil completionHandler:^(NSInteger result) {
|
||||
if (result == NSFileHandlingPanelOKButton) {
|
||||
NSMenuItem *folderItem = [self prepareDestPopupItem:[panel URL]];
|
||||
|
||||
[[_destButton menu] removeItemAtIndex:0];
|
||||
[[_destButton menu] insertItem:folderItem atIndex:0];
|
||||
|
||||
[_destButton selectItem:folderItem];
|
||||
|
||||
[self.options setValue:[panel URL] forKey:@"SBQueueDestination"];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:@"YES" forKey:@"SBQueueDestinationSelected"];
|
||||
}
|
||||
else
|
||||
[_destButton selectItemAtIndex:2];
|
||||
}];
|
||||
}
|
||||
|
||||
- (NSMenuItem *)prepareDestPopupItem:(NSURL*) dest {
|
||||
NSMenuItem *folderItem = [[NSMenuItem alloc] initWithTitle:[dest lastPathComponent] action:@selector(destination:) keyEquivalent:@""];
|
||||
|
||||
NSImage *menuItemIcon = [[NSWorkspace sharedWorkspace] iconForFile:[dest path]];
|
||||
[menuItemIcon setSize:NSMakeSize(16, 16)];
|
||||
|
||||
[folderItem setImage:menuItemIcon];
|
||||
|
||||
return [folderItem autorelease];
|
||||
}
|
||||
|
||||
- (IBAction)destination:(id)sender {
|
||||
if ([sender tag] == 10) {
|
||||
[self.options removeObjectForKey:@"SBQueueDestination"];
|
||||
} else {
|
||||
[self.options setObject:self.destination forKey:@"SBQueueDestination"];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,75 +183,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- (BOOL)validateUserInterfaceItem:(id < NSValidatedUserInterfaceItem >)anItem {
|
||||
SEL action = [anItem action];
|
||||
|
||||
if (action == @selector(chooseDestination:))
|
||||
return YES;
|
||||
|
||||
if (action == @selector(destination:))
|
||||
return YES;
|
||||
|
||||
if (action == @selector(applySet:))
|
||||
return YES;
|
||||
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (IBAction)chooseDestination:(id)sender {
|
||||
NSOpenPanel *panel = [NSOpenPanel openPanel];
|
||||
panel.allowsMultipleSelection = NO;
|
||||
panel.canChooseFiles = NO;
|
||||
panel.canChooseDirectories = YES;
|
||||
panel.canCreateDirectories = YES;
|
||||
|
||||
[panel setPrompt:@"Select"];
|
||||
[panel beginSheetModalForWindow:nil completionHandler:^(NSInteger result) {
|
||||
if (result == NSFileHandlingPanelOKButton) {
|
||||
_destination = [[panel URL] retain];
|
||||
|
||||
NSMenuItem *folderItem = [self prepareDestPopupItem:[panel URL]];
|
||||
|
||||
[[_destButton menu] removeItemAtIndex:0];
|
||||
[[_destButton menu] insertItem:folderItem atIndex:0];
|
||||
|
||||
[_destButton selectItem:folderItem];
|
||||
_customDestination = YES;
|
||||
|
||||
[self.options setValue:[panel URL] forKey:@"SBQueueDestination"];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:@"YES" forKey:@"SBQueueDestinationSelected"];
|
||||
}
|
||||
else
|
||||
[_destButton selectItemAtIndex:2];
|
||||
}];
|
||||
}
|
||||
|
||||
- (NSMenuItem *)prepareDestPopupItem:(NSURL*) dest {
|
||||
NSMenuItem *folderItem = [[NSMenuItem alloc] initWithTitle:[dest lastPathComponent] action:@selector(destination:) keyEquivalent:@""];
|
||||
[folderItem setTag:10];
|
||||
|
||||
NSImage *menuItemIcon = [[NSWorkspace sharedWorkspace] iconForFile:[dest path]];
|
||||
[menuItemIcon setSize:NSMakeSize(16, 16)];
|
||||
|
||||
[folderItem setImage:menuItemIcon];
|
||||
|
||||
return [folderItem autorelease];
|
||||
}
|
||||
|
||||
- (IBAction)destination:(id)sender {
|
||||
if ([sender tag] == 10) {
|
||||
_customDestination = YES;
|
||||
[[NSUserDefaults standardUserDefaults] setValue:@"YES" forKey:@"SBQueueDestinationSelected"];
|
||||
} else {
|
||||
_customDestination = NO;
|
||||
[[NSUserDefaults standardUserDefaults] setValue:nil forKey:@"SBQueueDestinationSelected"];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[[NSNotificationCenter defaultCenter] removeObserver: self];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
[_options release];
|
||||
[_destination release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@@ -264,10 +264,10 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
self.popover.contentViewController = nil;
|
||||
self.popover = nil;
|
||||
}
|
||||
if (self.itemPopover) {
|
||||
/*if (self.itemPopover) {
|
||||
self.itemPopover.contentViewController = nil;
|
||||
self.itemPopover = nil;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
#pragma mark - UI methods
|
||||
@@ -276,7 +276,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
NSUInteger count = [self.queue readyCount];
|
||||
|
||||
if (count)
|
||||
[[NSApp dockTile] setBadgeLabel:[NSString stringWithFormat:@"%d", count]];
|
||||
[[NSApp dockTile] setBadgeLabel:[NSString stringWithFormat:@"%lu", (unsigned long)count]];
|
||||
else
|
||||
[[NSApp dockTile] setBadgeLabel:nil];
|
||||
}
|
||||
@@ -325,7 +325,7 @@ static void *SBQueueContex = &SBQueueContex;
|
||||
|
||||
if (!self.popover.isShown) {
|
||||
NSButton *targetButton = (NSButton *)sender;
|
||||
[self.popover showRelativeToRect:[targetButton bounds] ofView:sender preferredEdge:NSMaxXEdge];
|
||||
[self.popover showRelativeToRect:[targetButton bounds] ofView:sender preferredEdge:NSMaxYEdge];
|
||||
} else {
|
||||
[self.popover close];
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ typedef enum SBQueueItemStatus : NSInteger {
|
||||
@property (nonatomic, readonly) NSURL *URL;
|
||||
@property (nonatomic, copy) NSURL *destURL;
|
||||
|
||||
@property (nonatomic, readonly) NSArray *actionsArray;
|
||||
@property (nonatomic, readonly) NSMutableArray *actions;
|
||||
|
||||
@property (nonatomic, readwrite) SBQueueItemStatus status;
|
||||
|
||||
|
||||
@@ -113,10 +113,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (NSArray *)actionsArray {
|
||||
return [self.actions copy];
|
||||
}
|
||||
|
||||
- (void)addAction:(id<SBQueueActionProtocol>)action {
|
||||
[self.actions addObject:action];
|
||||
}
|
||||
|
||||
@@ -196,8 +196,7 @@
|
||||
<outlet property="delegate" destination="-2" id="84"/>
|
||||
</connections>
|
||||
</menu>
|
||||
<userDefaultsController representsSharedInstance="YES" id="46"/>
|
||||
<window title="Queue Options" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="zHc-NF-Zeh" userLabel="Window - Detached Options" customClass="NSPanel">
|
||||
<window title="Queue Options" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" oneShot="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="zHc-NF-Zeh" userLabel="Window - Detached Options" customClass="NSPanel">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" utility="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="283" y="305" width="321" height="173"/>
|
||||
|
||||
+18
-10
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5053" systemVersion="13D17" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
|
||||
<dependencies>
|
||||
<deployment defaultVersion="1060" identifier="macosx"/>
|
||||
<deployment version="1060" defaultVersion="1060" identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5053"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -17,11 +17,11 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application"/>
|
||||
<customView id="c22-O7-iKe">
|
||||
<rect key="frame" x="0.0" y="0.0" width="380" height="116"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="380" height="120"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<textField verticalHuggingPriority="750" id="ITP-pW-XrQ">
|
||||
<rect key="frame" x="18" y="82" width="299" height="14"/>
|
||||
<rect key="frame" x="18" y="96" width="344" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="ItemName" id="5j3-R9-JdX">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -30,7 +30,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="MHQ-kr-DVS">
|
||||
<rect key="frame" x="18" y="42" width="73" height="14"/>
|
||||
<rect key="frame" x="18" y="56" width="73" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Destination:" id="9R2-ND-o8w">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -39,7 +39,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="0Or-PU-gfk">
|
||||
<rect key="frame" x="43" y="20" width="50" height="14"/>
|
||||
<rect key="frame" x="43" y="34" width="50" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Actions:" id="4B2-1n-ouM">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -48,7 +48,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsExpansionToolTips="YES" id="eTa-uz-sjk">
|
||||
<rect key="frame" x="95" y="42" width="267" height="14"/>
|
||||
<rect key="frame" x="95" y="56" width="267" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" sendsActionOnEndEditing="YES" title="url" id="5mD-V5-53a">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -57,7 +57,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="990-0E-nlL">
|
||||
<rect key="frame" x="46" y="60" width="45" height="14"/>
|
||||
<rect key="frame" x="46" y="74" width="45" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Source:" id="9De-A4-Oas">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -66,7 +66,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" allowsExpansionToolTips="YES" id="aBh-Is-f6Q">
|
||||
<rect key="frame" x="95" y="60" width="267" height="14"/>
|
||||
<rect key="frame" x="95" y="74" width="267" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" selectable="YES" sendsActionOnEndEditing="YES" title="url" id="OJa-Jm-vq4">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -74,8 +74,8 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" id="pW0-Ga-LFI">
|
||||
<rect key="frame" x="97" y="20" width="265" height="14"/>
|
||||
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" id="pW0-Ga-LFI">
|
||||
<rect key="frame" x="97" y="34" width="265" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Multiline Label" id="SYr-MC-PZ1">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
@@ -83,6 +83,14 @@
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<button verticalHuggingPriority="750" id="J0r-57-7ab">
|
||||
<rect key="frame" x="20" y="9" width="35" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<buttonCell key="cell" type="roundRect" title="Edit" bezelStyle="roundedRect" alignment="center" controlSize="small" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="cEO-ol-OLW">
|
||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
</buttonCell>
|
||||
</button>
|
||||
</subviews>
|
||||
</customView>
|
||||
</objects>
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application"/>
|
||||
<customView id="UlG-O3-eNc" userLabel="OptionsView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="321" height="173"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="321" height="153"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<subviews>
|
||||
<button id="zEH-aV-Tl7">
|
||||
<rect key="frame" x="111" y="17" width="71" height="18"/>
|
||||
<rect key="frame" x="111" y="7" width="71" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<buttonCell key="cell" type="check" title="Optimize" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="nig-pN-efw">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -34,7 +34,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button id="9GN-f6-r2j">
|
||||
<rect key="frame" x="111" y="137" width="103" height="18"/>
|
||||
<rect key="frame" x="111" y="127" width="103" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<buttonCell key="cell" type="check" title="Fetch Metadata" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="QNO-e1-WUJ">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -49,7 +49,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button id="MGZ-hB-jhx">
|
||||
<rect key="frame" x="111" y="35" width="136" height="18"/>
|
||||
<rect key="frame" x="111" y="25" width="136" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<buttonCell key="cell" type="check" title="Auto-Start the queue" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="LYO-G0-9jA">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -64,7 +64,7 @@
|
||||
</connections>
|
||||
</button>
|
||||
<button id="ccd-Xn-Dj3">
|
||||
<rect key="frame" x="111" y="119" width="112" height="18"/>
|
||||
<rect key="frame" x="111" y="109" width="112" height="18"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<buttonCell key="cell" type="check" title="Organize Groups" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" state="on" inset="2" id="240-c7-2UW">
|
||||
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
||||
@@ -79,14 +79,14 @@
|
||||
</connections>
|
||||
</button>
|
||||
<popUpButton verticalHuggingPriority="750" id="86l-GG-SpO">
|
||||
<rect key="frame" x="171" y="95" width="133" height="22"/>
|
||||
<rect key="frame" x="171" y="85" width="133" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" autoenablesItems="NO" id="8bb-Gy-KAS">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<menu key="menu" title="OtherViews" autoenablesItems="NO" id="BBw-yf-xUC">
|
||||
<items>
|
||||
<menuItem title="Same as file" id="WKY-e5-5Mn">
|
||||
<menuItem title="Same as file" tag="10" id="WKY-e5-5Mn">
|
||||
<connections>
|
||||
<action selector="destination:" target="-2" id="Iz9-zl-XXa"/>
|
||||
</connections>
|
||||
@@ -102,7 +102,7 @@
|
||||
</popUpButtonCell>
|
||||
</popUpButton>
|
||||
<textField verticalHuggingPriority="750" id="vJ5-JB-k1m">
|
||||
<rect key="frame" x="112" y="100" width="56" height="14"/>
|
||||
<rect key="frame" x="112" y="90" width="56" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Location:" id="17e-9u-rVn">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -111,7 +111,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="NhN-Lg-awX">
|
||||
<rect key="frame" x="112" y="74" width="61" height="14"/>
|
||||
<rect key="frame" x="112" y="64" width="61" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Apply Set:" id="9gt-mI-zIV">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -120,7 +120,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="Uoo-hZ-D1f">
|
||||
<rect key="frame" x="18" y="37" width="90" height="14"/>
|
||||
<rect key="frame" x="18" y="27" width="90" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Global options:" id="NBN-VA-pg2">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -129,7 +129,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<textField verticalHuggingPriority="750" id="S7L-mA-j3Y">
|
||||
<rect key="frame" x="49" y="139" width="59" height="14"/>
|
||||
<rect key="frame" x="49" y="129" width="59" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Add item:" id="9ls-xq-YGz">
|
||||
<font key="font" metaFont="smallSystemBold"/>
|
||||
@@ -138,7 +138,7 @@
|
||||
</textFieldCell>
|
||||
</textField>
|
||||
<popUpButton verticalHuggingPriority="750" id="DVM-Js-DwK">
|
||||
<rect key="frame" x="176" y="69" width="128" height="22"/>
|
||||
<rect key="frame" x="176" y="59" width="128" height="22"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
|
||||
<popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="bQx-xN-b3H">
|
||||
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
|
||||
|
||||
Reference in new issue
Block a user