]> granicus.if.org Git - handbrake/commitdiff
MacGui: add a "Add titles to queue" toolbar button.
authorDamiano Galassi <damiog@gmail.com>
Sat, 4 Feb 2017 09:26:35 +0000 (10:26 +0100)
committerDamiano Galassi <damiog@gmail.com>
Sat, 4 Feb 2017 09:26:35 +0000 (10:26 +0100)
macosx/English.lproj/MainWindow.xib

index fe73cb2702fac6b6f6b27eb2b7e0c52b20f390d8..d81b6d4053941ff18f825503c8c0cecbcff1af23 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11762" systemVersion="16D30a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="12100" systemVersion="16E144f" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
     <dependencies>
         <deployment identifier="macosx"/>
         <development version="7000" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11762"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="12100"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="HBController">
                         </connections>
                     </textField>
                     <textField toolTip="File name. This is what your new video will be named." verticalHuggingPriority="750" misplaced="YES" id="1561">
-                        <rect key="frame" x="71" y="455" width="395" height="19"/>
+                        <rect key="frame" x="71" y="455" width="374" height="19"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
                         <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" continuous="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="left" drawsBackground="YES" id="4919">
                             <font key="font" metaFont="smallSystem"/>
@@ -587,7 +587,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi
                         </connections>
                     </popUpButton>
                     <pathControl verticalHuggingPriority="750" misplaced="YES" allowsExpansionToolTips="YES" id="PJi-21-hie">
-                        <rect key="frame" x="523" y="455" width="311" height="20"/>
+                        <rect key="frame" x="506" y="455" width="328" height="20"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <pathCell key="cell" controlSize="small" selectable="YES" alignment="left" id="5Bk-66-HFW">
                             <font key="font" metaFont="smallSystem"/>
@@ -615,7 +615,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi
                         </connections>
                     </button>
                     <textField verticalHuggingPriority="750" misplaced="YES" id="gfs-4j-YSE">
-                        <rect key="frame" x="477" y="458" width="40" height="14"/>
+                        <rect key="frame" x="458" y="458" width="40" height="14"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="To:" id="rfK-nQ-Aq2">
                             <font key="font" metaFont="smallSystem"/>
@@ -655,8 +655,8 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi
                         </connections>
                     </toolbarItem>
                     <toolbarItem implicitItemIdentifier="6EFCA879-A80D-45D7-A846-EAD85261F864" label="Queue" paletteLabel="Show Queue Window" toolTip="Show Queue Window" tag="-1" image="showqueue" id="HCx-ku-nF7" customClass="HBToolbarBadgedItem">
-                        <size key="minSize" width="40" height="32"/>
-                        <size key="maxSize" width="40" height="32"/>
+                        <size key="minSize" width="32" height="32"/>
+                        <size key="maxSize" width="32" height="32"/>
                         <connections>
                             <action selector="showQueueWindow:" target="-1" id="vZB-dY-DbD"/>
                         </connections>
@@ -676,6 +676,40 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi
                             <action selector="toggleDrawer:" target="-2" id="YN2-RM-4ss"/>
                         </connections>
                     </toolbarItem>
+                    <toolbarItem implicitItemIdentifier="BC981D6D-0945-4001-BCB0-F9A1BBBD2C04" label="Add Titles To Queue" paletteLabel="Add Titles To Queue" image="addqueue" id="38K-hd-P5J">
+                        <nil key="toolTip"/>
+                        <size key="minSize" width="58" height="25"/>
+                        <size key="maxSize" width="58" height="32"/>
+                        <popUpButton key="view" misplaced="YES" imageHugsTitle="YES" id="pJJ-0V-TQq">
+                            <rect key="frame" x="28" y="14" width="58" height="25"/>
+                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" heightSizable="YES"/>
+                            <popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" alignment="center" lineBreakMode="truncatingTail" state="on" inset="2" pullsDown="YES" id="BAK-n3-eIN">
+                                <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                <font key="font" metaFont="menu"/>
+                                <menu key="menu" id="QCi-1O-Msg">
+                                    <items>
+                                        <menuItem state="on" image="addqueue" hidden="YES" id="MCy-je-2nL"/>
+                                        <menuItem title="Add Title To Queue" id="L8z-c6-E1u">
+                                            <connections>
+                                                <action selector="addToQueue:" target="-2" id="0SF-Rk-zUS"/>
+                                            </connections>
+                                        </menuItem>
+                                        <menuItem isSeparatorItem="YES" id="skM-c5-4GF"/>
+                                        <menuItem title="Add Titles To Queue…" id="046-kc-MnL">
+                                            <connections>
+                                                <action selector="addTitlesToQueue:" target="-2" id="xaX-YI-n9f"/>
+                                            </connections>
+                                        </menuItem>
+                                        <menuItem title="Add All Titles To Queue" id="INL-y9-Gwp">
+                                            <connections>
+                                                <action selector="addAllTitlesToQueue:" target="-2" id="su3-wU-Lps"/>
+                                            </connections>
+                                        </menuItem>
+                                    </items>
+                                </menu>
+                            </popUpButtonCell>
+                        </popUpButton>
+                    </toolbarItem>
                 </allowedToolbarItems>
                 <defaultToolbarItems>
                     <toolbarItem reference="8r8-nZ-dYs"/>
@@ -694,7 +728,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi
             <connections>
                 <outlet property="delegate" destination="-2" id="M3v-Rc-7Ca"/>
             </connections>
-            <point key="canvasLocation" x="1485" y="20"/>
+            <point key="canvasLocation" x="1565" y="36"/>
         </window>
         <drawer trailingOffset="15" id="1841" userLabel="PresetsDrawer">
             <size key="contentSize" width="240" height="550"/>
@@ -748,13 +782,13 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi
         </customView>
     </objects>
     <resources>
-        <image name="activity" width="24" height="24"/>
-        <image name="addqueue" width="12" height="12"/>
-        <image name="encode" width="24" height="24"/>
-        <image name="pauseencode" width="24" height="24"/>
-        <image name="presets" width="24" height="24"/>
-        <image name="preview" width="24" height="24"/>
+        <image name="activity" width="32" height="32"/>
+        <image name="addqueue" width="32" height="32"/>
+        <image name="encode" width="32" height="32"/>
+        <image name="pauseencode" width="32" height="32"/>
+        <image name="presets" width="32" height="32"/>
+        <image name="preview" width="32" height="32"/>
         <image name="showqueue" width="32" height="32"/>
-        <image name="source" width="24" height="24"/>
+        <image name="source" width="32" height="32"/>
     </resources>
 </document>