summaryrefslogtreecommitdiffstats
path: root/macosx/English.lproj
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-09 17:10:45 +0000
committerritsuka <[email protected]>2014-08-09 17:10:45 +0000
commit666e210efe202dc13273dd32de1b1901e194e4ce (patch)
tree95e3c1886f10552e023a517aee569866df806219 /macosx/English.lproj
parentd4e3de96a998ba90f61d31045d5c725428cd030d (diff)
MacGui: added the list of the presets at the bottom of the preset menu and a “New Folder” menu item. Removed the “delete built-in presets” item because it takes just two clicks to remove them manually.
Refactored part of HBPreset to a separate HBTreeNode class. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6278 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/English.lproj')
-rw-r--r--macosx/English.lproj/MainMenu.xib94
-rw-r--r--macosx/English.lproj/Presets.xib14
2 files changed, 40 insertions, 68 deletions
diff --git a/macosx/English.lproj/MainMenu.xib b/macosx/English.lproj/MainMenu.xib
index c0391d779..b078d832f 100644
--- a/macosx/English.lproj/MainMenu.xib
+++ b/macosx/English.lproj/MainMenu.xib
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13F7" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13F12" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment version="1060" defaultVersion="1090" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
@@ -12,7 +12,7 @@
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/>
- <window title="HandBrake" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="21" userLabel="MainWindow">
+ <window title="HandBrake" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="21" userLabel="MainWindow">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" unifiedTitleAndToolbar="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="41" y="572" width="966" height="558"/>
@@ -224,7 +224,7 @@
<font key="titleFont" metaFont="system"/>
</box>
<textField verticalHuggingPriority="750" id="1539">
- <rect key="frame" x="70" y="530" width="341" height="14.00000018353732"/>
+ <rect key="frame" x="70" y="530" width="330" height="14.000000183415764"/>
<autoresizingMask key="autoresizingMask" flexibleMinY="YES" heightSizable="YES"/>
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingMiddle" selectable="YES" sendsActionOnEndEditing="YES" alignment="left" id="4906">
<font key="font" metaFont="smallSystem"/>
@@ -333,14 +333,14 @@
</textFieldCell>
</textField>
<box verticalHuggingPriority="750" title="Box" boxType="separator" titlePosition="noTitle" id="3205">
- <rect key="frame" x="417" y="533" width="529" height="5"/>
+ <rect key="frame" x="406" y="533" width="540" height="5"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<font key="titleFont" metaFont="system"/>
</box>
<progressIndicator hidden="YES" verticalHuggingPriority="750" maxValue="100" bezeled="NO" controlSize="small" style="bar" id="3203">
- <rect key="frame" x="417" y="532.00000018353728" width="530" height="12"/>
+ <rect key="frame" x="406" y="532.00000017881393" width="541" height="12"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
</progressIndicator>
<button toolTip="This rearranges the header of the MP4 file to optimize it for streaming across the web." id="4579">
@@ -448,6 +448,12 @@
<action selector="showPreferencesWindow:" target="240" id="2517"/>
</connections>
</menuItem>
+ <menuItem isSeparatorItem="YES" id="bDt-OE-wyf">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Services" id="XcG-Aw-Gdb">
+ <menu key="submenu" title="Services" systemMenu="services" id="0te-ai-fgD"/>
+ </menuItem>
<menuItem isSeparatorItem="YES" id="1900">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
@@ -507,11 +513,14 @@
<action selector="addToQueue:" target="240" id="2447"/>
</connections>
</menuItem>
- <menuItem title="Add All Titles To Queue…" keyEquivalent="b" id="5897">
+ <menuItem title="Add All Titles To Queue…" keyEquivalent="B" id="5897">
<connections>
<action selector="addAllTitlesToQueue:" target="240" id="5899"/>
</connections>
</menuItem>
+ <menuItem isSeparatorItem="YES" id="Kee-pg-bfk">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
<menuItem title="Start Encoding" keyEquivalent="s" id="2444">
<connections>
<action selector="Rip:" target="240" id="2448"/>
@@ -649,43 +658,46 @@
<menuItem title="Presets" id="1948">
<menu key="submenu" title="Presets" id="1949">
<items>
- <menuItem title="New Preset…" keyEquivalent="n" id="1955">
+ <menuItem title="New Preset…" tag="-1" keyEquivalent="n" id="1955">
<connections>
- <action selector="showAddPresetPanel:" target="240" id="1956"/>
+ <action selector="showAddPresetPanel:" target="-1" id="iWH-6U-rv2"/>
</connections>
</menuItem>
- <menuItem title="Select Default Preset" id="2421">
+ <menuItem title="New Folder" tag="-1" keyEquivalent="N" id="wvb-60-cWL">
+ <connections>
+ <action selector="insertFolder:" target="-1" id="HpS-UY-h3l"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" tag="-1" id="1954">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Select Default Preset" tag="-1" id="2421">
<connections>
<action selector="selectDefaultPreset:" target="240" id="2422"/>
</connections>
</menuItem>
- <menuItem isSeparatorItem="YES" id="1954">
+ <menuItem isSeparatorItem="YES" tag="-1" id="CQW-qW-5C5">
<modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
- <menuItem title="Export…" id="5188">
+ <menuItem title="Export…" tag="-1" id="5188">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="browseExportPresetFile:" target="240" id="5191"/>
</connections>
</menuItem>
- <menuItem title="Import…" id="5192">
+ <menuItem title="Import…" tag="-1" id="5192">
<modifierMask key="keyEquivalentModifierMask"/>
<connections>
<action selector="browseImportPresetFile:" target="240" id="5193"/>
</connections>
</menuItem>
- <menuItem isSeparatorItem="YES" id="5qo-64-GYU">
- <modifierMask key="keyEquivalentModifierMask" command="YES"/>
- </menuItem>
- <menuItem title="Update Built-in Presets" id="1950">
+ <menuItem title="Update Built-in Presets" tag="-1" id="1950">
<connections>
<action selector="addFactoryPresets:" target="240" id="1952"/>
</connections>
</menuItem>
- <menuItem title="Delete Built-in Presets" id="1951">
- <connections>
- <action selector="deleteFactoryPresets:" target="240" id="1953"/>
- </connections>
+ <menuItem isSeparatorItem="YES" tag="-1" id="wgI-bc-Ors">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
</menuItem>
</items>
</menu>
@@ -766,44 +778,6 @@
</menuItem>
</items>
</menu>
- <window title="Panel" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="434" userLabel="DonePanel" customClass="NSPanel">
- <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
- <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
- <rect key="contentRect" x="57" y="765" width="300" height="233"/>
- <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1178"/>
- <value key="minSize" type="size" width="213" height="107"/>
- <view key="contentView" id="435">
- <rect key="frame" x="0.0" y="0.0" width="300" height="233"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <imageView id="436">
- <rect key="frame" x="83" y="82" width="134" height="134"/>
- <autoresizingMask key="autoresizingMask"/>
- <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="HandBrake.icns" id="4928"/>
- </imageView>
- <button verticalHuggingPriority="750" id="437">
- <rect key="frame" x="202" y="12" width="84" height="32"/>
- <autoresizingMask key="autoresizingMask"/>
- <buttonCell key="cell" type="push" title="Ahuh !" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="4929">
- <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
- <font key="font" metaFont="system"/>
- <string key="keyEquivalent" base64-UTF8="YES">
-DQ
-</string>
- </buttonCell>
- </button>
- <textField verticalHuggingPriority="750" id="438">
- <rect key="frame" x="82" y="60" width="134" height="17"/>
- <autoresizingMask key="autoresizingMask"/>
- <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="center" title="Rip done !" id="4930">
- <font key="font" metaFont="system"/>
- <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- </textField>
- </subviews>
- </view>
- </window>
<drawer trailingOffset="15" id="1841" userLabel="PresetsDrawer">
<size key="contentSize" width="240" height="550"/>
<size key="minContentSize" width="100" height="50"/>
@@ -1149,12 +1123,10 @@ DQ
<outlet property="fSubtitlesView" destination="5195" id="Ngb-0O-f4g"/>
<outlet property="fVideoView" destination="1478" id="M6c-3U-STI"/>
<outlet property="fWindow" destination="21" id="350"/>
+ <outlet property="presetsMenu" destination="1949" id="bkm-2h-uFI"/>
</connections>
</customObject>
<customObject id="4963" customClass="SUUpdater"/>
<userDefaultsController representsSharedInstance="YES" id="5676"/>
</objects>
- <resources>
- <image name="HandBrake.icns" width="128" height="128"/>
- </resources>
</document>
diff --git a/macosx/English.lproj/Presets.xib b/macosx/English.lproj/Presets.xib
index f1c070576..a151ff2d3 100644
--- a/macosx/English.lproj/Presets.xib
+++ b/macosx/English.lproj/Presets.xib
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13F7" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13F12" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
</dependencies>
@@ -18,7 +18,7 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="uad-bt-uKD">
- <rect key="frame" x="4" y="33" width="224" height="285"/>
+ <rect key="frame" x="3" y="33" width="224" height="285"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<clipView key="contentView" id="Rcx-jI-nnq">
<rect key="frame" x="1" y="1" width="222" height="283"/>
@@ -71,7 +71,7 @@
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</clipView>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="RAh-Ad-miy">
- <rect key="frame" x="1" y="1" width="0.0" height="16"/>
+ <rect key="frame" x="-100" y="-100" width="222" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="xU9-j2-UAo">
@@ -80,7 +80,7 @@
</scroller>
</scrollView>
<popUpButton verticalHuggingPriority="750" id="Ybq-Zt-sta">
- <rect key="frame" x="59" y="3" width="35" height="23"/>
+ <rect key="frame" x="58" y="3" width="35" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" imagePosition="only" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="2JY-O9-FR6">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -109,7 +109,7 @@
</popUpButtonCell>
</popUpButton>
<button verticalHuggingPriority="750" id="kfi-wq-mgV">
- <rect key="frame" x="4" y="3" width="24" height="23"/>
+ <rect key="frame" x="3" y="3" width="24" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="only" alignment="center" state="on" borderStyle="border" inset="3" id="OJ3-1k-3DY">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -121,7 +121,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" id="b3V-8w-euU">
- <rect key="frame" x="27" y="3" width="24" height="23"/>
+ <rect key="frame" x="26" y="3" width="24" height="23"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="only" alignment="left" borderStyle="border" inset="3" id="Kb1-6u-550">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -142,7 +142,7 @@
<string>isDefault</string>
</declaredKeys>
<connections>
- <binding destination="-2" name="contentArray" keyPath="presets.contents" id="9w3-Oi-cf0"/>
+ <binding destination="-2" name="contentArray" keyPath="presets.root.children" id="A8P-Hb-YE9"/>
</connections>
</treeController>
</objects>