Skip to content

Commit fb58bcc

Browse files
committed
Fix missing icons, update help page
1 parent 13a23e1 commit fb58bcc

File tree

14 files changed

+111
-37
lines changed

14 files changed

+111
-37
lines changed

SessionBuddy Extension/Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.0</string>
20+
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>1</string>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
<key>LSMinimumSystemVersion</key>
2424
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2525
<key>NSExtension</key>

SessionBuddy Extension/Views/Export/ExportCellView.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import Cocoa
1010

1111
class ExportCellView: NSTableCellView {
1212
@IBOutlet weak var checkBox: NSButton?
13+
@IBOutlet weak var lblTitle: NSTextField?
1314

1415
var isSelectedChanged: ((Bool) -> Void)?
1516

@@ -24,7 +25,7 @@ class ExportCellView: NSTableCellView {
2425
isChecked: Bool,
2526
isSelectedChanged: @escaping ((Bool) -> Void)
2627
) {
27-
self.checkBox?.title = "􀈕 \(title)"
28+
self.lblTitle?.stringValue = title
2829
self.checkBox?.state = isChecked ? .on : .off
2930
self.isSelectedChanged = isSelectedChanged
3031
}

SessionBuddy Extension/Views/Export/ExportViewController.xib

+25-2
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,25 @@
4848
<rect key="frame" x="1" y="1" width="341" height="30"/>
4949
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
5050
<subviews>
51+
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Rcn-kY-YR9">
52+
<rect key="frame" x="28" y="6" width="18" height="18"/>
53+
<constraints>
54+
<constraint firstAttribute="width" constant="18" id="Hm1-Jn-zPe"/>
55+
<constraint firstAttribute="height" constant="18" id="Z3B-qj-nPW"/>
56+
</constraints>
57+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="ico_folder" id="nfy-Tb-ntX"/>
58+
</imageView>
59+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="kvc-Ct-7ls">
60+
<rect key="frame" x="48" y="7" width="36" height="16"/>
61+
<textFieldCell key="cell" lineBreakMode="clipping" title="Work" id="eWC-10-Cnz">
62+
<font key="font" metaFont="system"/>
63+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
64+
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
65+
</textFieldCell>
66+
</textField>
5167
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oBd-Cm-fmn">
5268
<rect key="frame" x="6" y="6" width="329" height="18"/>
53-
<buttonCell key="cell" type="check" title="􀈕 Work" bezelStyle="regularSquare" imagePosition="left" inset="2" id="EoZ-Kg-1fu">
69+
<buttonCell key="cell" type="check" bezelStyle="regularSquare" imagePosition="left" inset="2" id="EoZ-Kg-1fu">
5470
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
5571
<font key="font" metaFont="system"/>
5672
</buttonCell>
@@ -60,13 +76,19 @@
6076
</button>
6177
</subviews>
6278
<constraints>
63-
<constraint firstAttribute="trailing" secondItem="oBd-Cm-fmn" secondAttribute="trailing" constant="8" id="7uB-zz-LY4"/>
79+
<constraint firstItem="kvc-Ct-7ls" firstAttribute="leading" secondItem="Rcn-kY-YR9" secondAttribute="trailing" constant="4" id="PcJ-Dc-0t6"/>
6480
<constraint firstAttribute="height" constant="30" id="PcU-hK-nLr"/>
6581
<constraint firstItem="oBd-Cm-fmn" firstAttribute="centerY" secondItem="sy8-qW-e4c" secondAttribute="centerY" id="RHN-5q-N2l"/>
82+
<constraint firstItem="Rcn-kY-YR9" firstAttribute="centerY" secondItem="oBd-Cm-fmn" secondAttribute="centerY" id="SZv-Er-ziR"/>
83+
<constraint firstAttribute="trailing" secondItem="oBd-Cm-fmn" secondAttribute="trailing" constant="8" id="WFf-XQ-hEx"/>
84+
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="kvc-Ct-7ls" secondAttribute="trailing" constant="8" id="XzY-7W-Kaa"/>
6685
<constraint firstItem="oBd-Cm-fmn" firstAttribute="leading" secondItem="sy8-qW-e4c" secondAttribute="leading" constant="8" id="YsN-j4-jUG"/>
86+
<constraint firstItem="Rcn-kY-YR9" firstAttribute="leading" secondItem="sy8-qW-e4c" secondAttribute="leading" constant="28" id="cc6-Hz-hHU"/>
87+
<constraint firstItem="kvc-Ct-7ls" firstAttribute="centerY" secondItem="Rcn-kY-YR9" secondAttribute="centerY" id="oaV-3r-s6L"/>
6788
</constraints>
6889
<connections>
6990
<outlet property="checkBox" destination="oBd-Cm-fmn" id="TLA-Vz-Fv3"/>
91+
<outlet property="lblTitle" destination="kvc-Ct-7ls" id="pwk-1o-aEv"/>
7092
</connections>
7193
</tableCellView>
7294
</prototypeCellViews>
@@ -186,5 +208,6 @@
186208
</objects>
187209
<resources>
188210
<image name="NSGoBackTemplate" width="9" height="12"/>
211+
<image name="ico_folder" width="15" height="12"/>
189212
</resources>
190213
</document>

0 commit comments

Comments
 (0)