<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7702" systemVersion="14E17e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment version="1060" identifier="macosx"/>
<development version="5100" identifier="xcode"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7702"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7706"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
<action selector="browseSources:" target="-1" id="9Ko-Me-Xae"/>
</connections>
</menuItem>
+ <menuItem title="Open Recent" id="fNa-z2-K1i">
+ <menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="ukX-HN-SXk">
+ <items>
+ <menuItem title="Clear Menu" id="wPw-Uj-Gxi">
+ <connections>
+ <action selector="clearRecentDocuments:" target="-1" id="94m-U1-U9q"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
<menuItem isSeparatorItem="YES" id="2507">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7702" systemVersion="14E17e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment identifier="macosx"/>
- <development version="6000" identifier="xcode"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7702"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7706"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="HBController">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="ZEH-cS-zXY"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="wjB-Tl-5qq"/>
- <toolbarItem implicitItemIdentifier="B3BAB305-77BF-4967-B8E6-D11F40EF822B" label="Source" paletteLabel="Source" toolTip="Open source and scan the selected title" tag="-1" image="source" id="8r8-nZ-dYs">
+ <toolbarItem implicitItemIdentifier="B3BAB305-77BF-4967-B8E6-D11F40EF822B" label="Open Source" paletteLabel="Open Source" toolTip="Open source and scan the selected title" tag="-1" image="source" id="8r8-nZ-dYs">
<connections>
<action selector="browseSources:" target="-2" id="zi1-Tk-0YL"/>
</connections>
{
if (action == @selector(browseSources:))
{
- [toolbarItem setImage: [NSImage imageNamed: @"source"]];
- [toolbarItem setLabel: @"Source"];
- [toolbarItem setPaletteLabel: @"Source"];
- [toolbarItem setToolTip: @"Choose Video Source"];
+ [toolbarItem setImage:[NSImage imageNamed:@"source"]];
+ [toolbarItem setLabel:NSLocalizedString(@"Open Source", nil)];
+ [toolbarItem setPaletteLabel:NSLocalizedString(@"Open Source", nil)];
+ [toolbarItem setToolTip:NSLocalizedString(@"Open source and scan the selected title", nil)];
return YES;
}
}
}
}
+ // Add the url to the Open Recent menu.
+ [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:url];
+
NSInteger titleIdx = 0;
if (self.scanSpecificTitle)
{