mirror of
https://github.com/nextcloud/desktop.git
synced 2026-01-14 02:01:28 +00:00
- Some time ago, I implemented the token based locks. In scope of that I temporarily changed the "lock" property to a complex type before reverting it. I probably forgot to turn back the changes here which compare the property like it is an optional struct even though it is a boolean. - Improved code formatting and updated some calls to use asynchronous methods of NextcloudKit directly without continuations. - Set the key equivalent of the close button to the escape key. Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
131 lines
11 KiB
XML
131 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24412" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
|
<dependencies>
|
|
<deployment identifier="macosx"/>
|
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24412"/>
|
|
<capability name="Image references" minToolsVersion="12.0"/>
|
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
</dependencies>
|
|
<objects>
|
|
<customObject id="-2" userLabel="File's Owner" customClass="LockViewController" customModule="FileProviderUIExt" customModuleProvider="target">
|
|
<connections>
|
|
<outlet property="closeButton" destination="7qN-mr-hAh" id="NkY-2f-Ltx"/>
|
|
<outlet property="descriptionLabel" destination="DG3-ti-eu7" id="rez-CW-FUS"/>
|
|
<outlet property="fileNameIcon" destination="KlP-OW-SKo" id="Dey-vA-qIG"/>
|
|
<outlet property="fileNameLabel" destination="LDe-7m-hvL" id="AzB-UH-ndO"/>
|
|
<outlet property="loadingIndicator" destination="UWQ-uR-PJA" id="Swv-It-LT9"/>
|
|
<outlet property="view" destination="MSC-7J-Z1I" id="6cA-xC-NDA"/>
|
|
<outlet property="warnImage" destination="zlo-mM-ZNd" id="5gS-Ab-nDE"/>
|
|
</connections>
|
|
</customObject>
|
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
|
<customView translatesAutoresizingMaskIntoConstraints="NO" id="MSC-7J-Z1I">
|
|
<rect key="frame" x="0.0" y="0.0" width="500" height="88"/>
|
|
<subviews>
|
|
<progressIndicator horizontalHuggingPriority="1000" verticalHuggingPriority="1000" maxValue="100" indeterminate="YES" style="spinning" translatesAutoresizingMaskIntoConstraints="NO" id="UWQ-uR-PJA" userLabel="Progress Indicator">
|
|
<rect key="frame" x="20" y="28" width="32" height="32"/>
|
|
<constraints>
|
|
<constraint firstAttribute="width" constant="32" id="ShG-G9-AMJ"/>
|
|
<constraint firstAttribute="width" secondItem="UWQ-uR-PJA" secondAttribute="height" multiplier="1:1" id="Tcq-dQ-mHX"/>
|
|
</constraints>
|
|
</progressIndicator>
|
|
<imageView hidden="YES" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="zlo-mM-ZNd" userLabel="Status Symbol">
|
|
<rect key="frame" x="20" y="25" width="32" height="38"/>
|
|
<constraints>
|
|
<constraint firstAttribute="width" secondItem="zlo-mM-ZNd" secondAttribute="height" multiplier="1:1" id="0Ph-UF-e8z"/>
|
|
<constraint firstAttribute="width" constant="32" id="bLR-yT-V35"/>
|
|
</constraints>
|
|
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="exclamationmark.circle.fill" catalog="system" id="Yym-fE-Cdh"/>
|
|
</imageView>
|
|
<imageView horizontalHuggingPriority="1000" verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="KlP-OW-SKo" userLabel="File Symbol">
|
|
<rect key="frame" x="62" y="17" width="48" height="55"/>
|
|
<constraints>
|
|
<constraint firstAttribute="width" secondItem="KlP-OW-SKo" secondAttribute="height" multiplier="1:1" id="u2z-cf-k5P"/>
|
|
<constraint firstAttribute="width" constant="48" id="ucZ-Lb-C49"/>
|
|
</constraints>
|
|
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="doc" catalog="system" id="sA8-Dn-b0s"/>
|
|
</imageView>
|
|
<stackView distribution="fillEqually" orientation="vertical" alignment="leading" spacing="10" horizontalStackHuggingPriority="250" verticalStackHuggingPriority="250" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dpJ-oy-su9">
|
|
<rect key="frame" x="120" y="23" width="318" height="42"/>
|
|
<subviews>
|
|
<textField focusRingType="none" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LDe-7m-hvL" userLabel="Activity Label">
|
|
<rect key="frame" x="-2" y="26" width="322" height="16"/>
|
|
<textFieldCell key="cell" lineBreakMode="truncatingMiddle" title="Locking file filename.txt…" usesSingleLineMode="YES" id="Zld-Ku-SeH">
|
|
<font key="font" textStyle="headline" name=".SFNS-Bold"/>
|
|
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</textField>
|
|
<textField focusRingType="none" verticalHuggingPriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="DG3-ti-eu7" userLabel="Status Label">
|
|
<rect key="frame" x="-2" y="0.0" width="322" height="16"/>
|
|
<textFieldCell key="cell" selectable="YES" title="Communicating with server..." id="tz0-OE-Too">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</textField>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstAttribute="trailing" secondItem="DG3-ti-eu7" secondAttribute="trailing" id="8TF-VE-4z7"/>
|
|
<constraint firstAttribute="trailing" secondItem="LDe-7m-hvL" secondAttribute="trailing" id="BAx-hY-Nrb"/>
|
|
<constraint firstItem="LDe-7m-hvL" firstAttribute="leading" secondItem="dpJ-oy-su9" secondAttribute="leading" id="NUj-8a-xvp"/>
|
|
<constraint firstItem="DG3-ti-eu7" firstAttribute="leading" secondItem="dpJ-oy-su9" secondAttribute="leading" id="eV4-Uv-5xX"/>
|
|
</constraints>
|
|
<visibilityPriorities>
|
|
<integer value="1000"/>
|
|
<integer value="1000"/>
|
|
</visibilityPriorities>
|
|
<customSpacing>
|
|
<real value="3.4028234663852886e+38"/>
|
|
<real value="3.4028234663852886e+38"/>
|
|
</customSpacing>
|
|
</stackView>
|
|
<button horizontalHuggingPriority="1000" verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="7qN-mr-hAh" userLabel="Close Button">
|
|
<rect key="frame" x="448" y="23" width="32" height="43"/>
|
|
<buttonCell key="cell" type="bevel" bezelStyle="rounded" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="7Oc-Xd-RzM">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
<imageReference key="image" image="xmark.circle.fill" catalog="system" symbolScale="large"/>
|
|
<string key="keyEquivalent" base64-UTF8="YES">
|
|
Gw
|
|
</string>
|
|
</buttonCell>
|
|
<constraints>
|
|
<constraint firstAttribute="width" secondItem="7qN-mr-hAh" secondAttribute="height" multiplier="1:1" id="K00-Bi-dEy"/>
|
|
<constraint firstAttribute="width" constant="32" id="zVJ-h1-QXJ"/>
|
|
</constraints>
|
|
<accessibility description="Close" identifier="close"/>
|
|
<connections>
|
|
<action selector="closeAction:" target="-2" id="E6h-U9-2eB"/>
|
|
</connections>
|
|
</button>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstItem="KlP-OW-SKo" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="MSC-7J-Z1I" secondAttribute="leading" constant="10" id="42d-pC-0Lq"/>
|
|
<constraint firstItem="zlo-mM-ZNd" firstAttribute="centerX" secondItem="UWQ-uR-PJA" secondAttribute="centerX" id="7z4-p9-tG1"/>
|
|
<constraint firstItem="zlo-mM-ZNd" firstAttribute="centerY" secondItem="MSC-7J-Z1I" secondAttribute="centerY" id="BhT-zz-GMl"/>
|
|
<constraint firstItem="dpJ-oy-su9" firstAttribute="leading" secondItem="KlP-OW-SKo" secondAttribute="trailing" constant="10" id="CkI-Rn-Ens"/>
|
|
<constraint firstItem="7qN-mr-hAh" firstAttribute="leading" secondItem="dpJ-oy-su9" secondAttribute="trailing" constant="10" id="D0y-zd-Mkx"/>
|
|
<constraint firstItem="UWQ-uR-PJA" firstAttribute="leading" secondItem="MSC-7J-Z1I" secondAttribute="leading" constant="20" id="DOR-jC-JYh"/>
|
|
<constraint firstItem="dpJ-oy-su9" firstAttribute="top" relation="greaterThanOrEqual" secondItem="MSC-7J-Z1I" secondAttribute="top" constant="20" id="EnF-gg-RXe"/>
|
|
<constraint firstItem="UWQ-uR-PJA" firstAttribute="centerY" secondItem="MSC-7J-Z1I" secondAttribute="centerY" id="GAc-W2-Bue"/>
|
|
<constraint firstItem="KlP-OW-SKo" firstAttribute="top" relation="greaterThanOrEqual" secondItem="MSC-7J-Z1I" secondAttribute="top" constant="20" id="JEs-Z1-i2x"/>
|
|
<constraint firstItem="KlP-OW-SKo" firstAttribute="leading" secondItem="UWQ-uR-PJA" secondAttribute="trailing" constant="10" id="YHI-Z6-DqR"/>
|
|
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="KlP-OW-SKo" secondAttribute="bottom" constant="20" id="g7d-i6-GFB"/>
|
|
<constraint firstAttribute="trailing" secondItem="7qN-mr-hAh" secondAttribute="trailing" constant="20" id="jyt-D2-tiy"/>
|
|
<constraint firstItem="7qN-mr-hAh" firstAttribute="centerY" secondItem="MSC-7J-Z1I" secondAttribute="centerY" id="tuo-AL-2Xr"/>
|
|
<constraint firstItem="KlP-OW-SKo" firstAttribute="centerY" secondItem="MSC-7J-Z1I" secondAttribute="centerY" id="upa-4o-uiG"/>
|
|
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="dpJ-oy-su9" secondAttribute="bottom" constant="20" id="xOO-EK-GWO"/>
|
|
<constraint firstItem="dpJ-oy-su9" firstAttribute="centerY" secondItem="MSC-7J-Z1I" secondAttribute="centerY" id="yKD-Bd-jC9"/>
|
|
</constraints>
|
|
<point key="canvasLocation" x="-266" y="-126.5"/>
|
|
</customView>
|
|
</objects>
|
|
<resources>
|
|
<image name="doc" catalog="system" width="14" height="16"/>
|
|
<image name="exclamationmark.circle.fill" catalog="system" width="15" height="15"/>
|
|
<image name="xmark.circle.fill" catalog="system" width="20" height="20"/>
|
|
</resources>
|
|
</document>
|