Added a second languages popup for the languages selection.

Fixed a crash.
This commit is contained in:
Damiano Galassi committed 2014-06-24 08:09:40 +02:00
1 parent 89ed390891
commit 9cbd2e7001
7 files changed
+140 -43

No files matched your search

+59 -23
View File
@@ -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="13D43" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="5056" systemVersion="13E19" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment defaultVersion="1060" identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="5056"/>
@@ -14,7 +14,7 @@
<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="236"/>
<rect key="frame" x="0.0" y="0.0" width="334" height="262"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<button id="zEH-aV-Tl7">
@@ -33,7 +33,7 @@
</connections>
</button>
<button toolTip="Search metadata online" id="9GN-f6-r2j">
<rect key="frame" x="111" y="210" width="103" height="18"/>
<rect key="frame" x="111" y="236" 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"/>
@@ -134,7 +134,7 @@
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="eTL-yP-QQ5">
<rect key="frame" x="140" y="189" width="47" height="14"/>
<rect key="frame" x="124" y="215" width="47" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Movies:" id="W6m-cd-JMe">
<font key="font" metaFont="smallSystemBold"/>
@@ -146,7 +146,7 @@
</connections>
</textField>
<textField verticalHuggingPriority="750" id="bDo-OD-bck">
<rect key="frame" x="124" y="169" width="63" height="14"/>
<rect key="frame" x="124" y="171" width="63" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="TV Shows:" id="PCe-Pw-D2s">
<font key="font" metaFont="smallSystemBold"/>
@@ -167,7 +167,7 @@
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="S7L-mA-j3Y">
<rect key="frame" x="49" y="212" width="59" height="14"/>
<rect key="frame" x="49" y="238" 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"/>
@@ -205,7 +205,7 @@
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" id="ZVm-yi-3cE">
<rect key="frame" x="193" y="189" width="111" height="17"/>
<rect key="frame" x="177" y="215" width="111" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="CbR-eu-sGI">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -213,6 +213,11 @@
<menu key="menu" title="OtherViews" id="ptP-wd-Rxc"/>
</popUpButtonCell>
<connections>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProvider" previousBinding="crR-iB-g3d" id="zMN-ZS-xkn">
<dictionary key="options">
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>
</binding>
<binding destination="-2" name="content" keyPath="self.moviesProviders" id="crR-iB-g3d">
<dictionary key="options">
<string key="NSNoSelectionPlaceholder">None</string>
@@ -221,15 +226,10 @@
</dictionary>
</binding>
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="IHE-rh-qMI"/>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProvider" previousBinding="crR-iB-g3d" id="zMN-ZS-xkn">
<dictionary key="options">
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>
</binding>
</connections>
</popUpButton>
<popUpButton verticalHuggingPriority="750" id="tLh-V3-OfB">
<rect key="frame" x="193" y="167" width="111" height="17"/>
<rect key="frame" x="193" y="169" width="111" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="UOb-Qe-IPw">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -237,6 +237,12 @@
<menu key="menu" title="OtherViews" id="ytE-Us-3gv"/>
</popUpButtonCell>
<connections>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProvider" previousBinding="Rh9-LC-qBz" id="29h-lK-saO">
<dictionary key="options">
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>
</binding>
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="WZY-iH-YJ5"/>
<binding destination="-2" name="content" keyPath="self.tvShowsProviders" id="Rh9-LC-qBz">
<dictionary key="options">
<string key="NSNoSelectionPlaceholder">None</string>
@@ -244,16 +250,10 @@
<string key="NSNullPlaceholder">None</string>
</dictionary>
</binding>
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="WZY-iH-YJ5"/>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProvider" previousBinding="Rh9-LC-qBz" id="29h-lK-saO">
<dictionary key="options">
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>
</binding>
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" id="BWL-Nn-iGH">
<rect key="frame" x="124" y="147" width="62" height="14"/>
<rect key="frame" x="134" y="151" width="62" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="1dC-y4-0rx">
<font key="font" metaFont="smallSystemBold"/>
@@ -265,7 +265,7 @@
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" id="Ce4-O7-Iu4">
<rect key="frame" x="193" y="145" width="111" height="17"/>
<rect key="frame" x="203" y="149" width="111" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="nqF-p0-mT7">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -273,15 +273,51 @@
<menu key="menu" title="OtherViews" id="U0q-ED-kQf"/>
</popUpButtonCell>
<connections>
<binding destination="-2" name="content" keyPath="self.languages" id="6NP-iD-sJZ">
<binding destination="-2" name="content" keyPath="self.tvShowLanguages" id="aF7-XO-EMK">
<dictionary key="options">
<string key="NSNoSelectionPlaceholder">None</string>
<string key="NSNotApplicablePlaceholder">None</string>
<string key="NSNullPlaceholder">None</string>
</dictionary>
</binding>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueTVShowProviderLanguage" previousBinding="aF7-XO-EMK" id="8zl-Qa-wBq">
<dictionary key="options">
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>
</binding>
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="P1S-72-eFU"/>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueProviderLanguage" previousBinding="6NP-iD-sJZ" id="NQo-71-Vl8">
</connections>
</popUpButton>
<textField verticalHuggingPriority="750" id="73q-gi-fe2">
<rect key="frame" x="134" y="197" width="62" height="14"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Language:" id="VkG-jW-ibO">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="gYI-7C-fKA"/>
</connections>
</textField>
<popUpButton verticalHuggingPriority="750" id="5rh-cM-iOg">
<rect key="frame" x="203" y="195" width="111" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="roundRect" bezelStyle="roundedRect" alignment="left" controlSize="small" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="gZb-sF-UQs">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/>
<menu key="menu" title="OtherViews" id="0QM-sv-vRX"/>
</popUpButtonCell>
<connections>
<binding destination="-2" name="content" keyPath="self.movieLanguages" id="3w0-jj-Nkk">
<dictionary key="options">
<string key="NSNoSelectionPlaceholder">None</string>
<string key="NSNotApplicablePlaceholder">None</string>
<string key="NSNullPlaceholder">None</string>
</dictionary>
</binding>
<binding destination="-2" name="enabled" keyPath="self.options.SBQueueMetadata" id="ABT-BG-W0N"/>
<binding destination="-2" name="selectedObject" keyPath="options.SBQueueMovieProviderLanguage" previousBinding="3w0-jj-Nkk" id="I8g-ge-lPH">
<dictionary key="options">
<bool key="NSValidatesImmediately" value="YES"/>
</dictionary>