Revision: 25839 http://sourceforge.net/p/bibdesk/svn/25839 Author: hofman Date: 2021-05-03 13:58:20 +0000 (Mon, 03 May 2021) Log Message: ----------- Replace matrix in files preferences by radio buttons
Modified Paths: -------------- trunk/bibdesk/Base.lproj/BibPref_General.xib trunk/bibdesk/BibPref_General.h trunk/bibdesk/BibPref_General.m trunk/bibdesk/de.lproj/BibPref_General.strings trunk/bibdesk/en.lproj/BibPref_General.strings trunk/bibdesk/fr.lproj/BibPref_General.strings Modified: trunk/bibdesk/Base.lproj/BibPref_General.xib =================================================================== --- trunk/bibdesk/Base.lproj/BibPref_General.xib 2021-05-03 09:51:31 UTC (rev 25838) +++ trunk/bibdesk/Base.lproj/BibPref_General.xib 2021-05-03 13:58:20 UTC (rev 25839) @@ -17,8 +17,12 @@ <outlet property="downloadedTypesTextField" destination="xYE-He-fuf" id="8Pg-WM-WQY"/> <outlet property="editOnPasteButton" destination="85" id="96"/> <outlet property="emailTemplatePopup" destination="222" id="228"/> + <outlet property="emptyStartupRadioButton" destination="GrW-G2-1Cn" id="UmM-ao-sW7"/> + <outlet property="fileStartupRadioButton" destination="PK1-ZY-OJw" id="gDg-49-z0A"/> + <outlet property="nothingStartupRadioButton" destination="d55-cY-vVt" id="bgS-ZF-VTy"/> + <outlet property="openStartupRadioButton" destination="TAx-0n-uTh" id="l0R-oC-RnD"/> <outlet property="replaceDownloadedURLsButton" destination="LLl-0L-qEl" id="LCK-Et-g6B"/> - <outlet property="startupBehaviorRadio" destination="65" id="68"/> + <outlet property="savedStartupRadioButton" destination="fAb-n5-a7b" id="mF9-pi-h2G"/> <outlet property="view" destination="5" id="261"/> <outlet property="warnOnDeleteButton" destination="155" id="158"/> <outlet property="warnOnGenerateCiteKeysButton" destination="191" id="192"/> @@ -29,7 +33,7 @@ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/> <customView translatesAutoresizingMaskIntoConstraints="NO" id="5" userLabel="View"> - <rect key="frame" x="0.0" y="0.0" width="534" height="525"/> + <rect key="frame" x="0.0" y="0.0" width="534" height="531"/> <subviews> <button horizontalHuggingPriority="750" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="231"> <rect key="frame" x="30" y="19" width="313" height="18"/> @@ -43,7 +47,7 @@ </button> <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" preferredMaxLayoutWidth="85" translatesAutoresizingMaskIntoConstraints="NO" id="227"> <rect key="frame" x="30" y="176" width="84" height="16"/> - <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Email format:" id="277"> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Email format:" id="277"> <font key="font" metaFont="system"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> @@ -67,7 +71,7 @@ </popUpButton> <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" preferredMaxLayoutWidth="231" translatesAutoresizingMaskIntoConstraints="NO" id="207"> <rect key="frame" x="18" y="201" width="223" height="16"/> - <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Emailing Bibliography Information" id="275"> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="Emailing Bibliography Information" id="275"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> @@ -78,7 +82,7 @@ </box> <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" preferredMaxLayoutWidth="320" translatesAutoresizingMaskIntoConstraints="NO" id="199"> <rect key="frame" x="119" y="354" width="312" height="16"/> - <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Check for updates (requires a network connection)" id="274"> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Check for updates (requires a network connection)" id="274"> <font key="font" metaFont="system"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> @@ -136,7 +140,6 @@ </buttonCell> <connections> <action selector="changeWarnOnRenameGroup:" target="-2" id="167"/> - <outlet property="nextKeyView" destination="65" id="169"/> </connections> </button> <button horizontalHuggingPriority="750" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="155"> @@ -152,7 +155,7 @@ </button> <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" preferredMaxLayoutWidth="239" translatesAutoresizingMaskIntoConstraints="NO" id="154"> <rect key="frame" x="18" y="132" width="65" height="16"/> - <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Warnings" id="268"> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="Warnings" id="268"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> @@ -159,7 +162,7 @@ </textFieldCell> </textField> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="144"> - <rect key="frame" x="142" y="402" width="372" height="21"/> + <rect key="frame" x="129" y="402" width="385" height="21"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="267"> <font key="font" metaFont="system"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -166,7 +169,6 @@ <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <accessibilityConnection property="title" destination="178" id="234"/> <action selector="setAutoOpenFilePath:" target="-2" id="147"/> </connections> </textField> @@ -197,7 +199,7 @@ </button> <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" preferredMaxLayoutWidth="239" translatesAutoresizingMaskIntoConstraints="NO" id="84"> <rect key="frame" x="18" y="310" width="232" height="16"/> - <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Importing Bibliography Information" id="265"> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="Importing Bibliography Information" id="265"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> @@ -204,66 +206,13 @@ </textFieldCell> </textField> <textField horizontalHuggingPriority="750" verticalHuggingPriority="750" preferredMaxLayoutWidth="132" translatesAutoresizingMaskIntoConstraints="NO" id="82"> - <rect key="frame" x="18" y="489" width="129" height="16"/> - <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="left" title="Application Launch" id="264"> + <rect key="frame" x="18" y="495" width="129" height="16"/> + <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="Application Launch" id="264"> <font key="font" metaFont="systemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> </textField> - <matrix verticalHuggingPriority="750" selectionByRect="NO" allowsEmptySelection="NO" translatesAutoresizingMaskIntoConstraints="NO" id="65"> - <rect key="frame" x="32" y="383" width="102" height="98"/> - <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> - <size key="cellSize" width="102" height="18"/> - <size key="intercellSpacing" width="4" height="2"/> - <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="279"> - <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> - <font key="font" metaFont="system"/> - </buttonCell> - <cells> - <column> - <buttonCell type="radio" title="Empty file" imagePosition="left" alignment="left" state="on" inset="2" id="175"> - <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> - <font key="font" metaFont="system"/> - <connections> - <accessibilityConnection property="title" destination="82" id="237"/> - </connections> - </buttonCell> - <buttonCell type="radio" title="Do nothing" imagePosition="left" alignment="left" tag="1" inset="2" id="176"> - <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> - <font key="font" metaFont="system"/> - <connections> - <accessibilityConnection property="title" destination="82" id="238"/> - </connections> - </buttonCell> - <buttonCell type="radio" title="Open dialog" imagePosition="left" alignment="left" tag="2" inset="2" id="177"> - <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> - <font key="font" metaFont="system"/> - <connections> - <accessibilityConnection property="title" destination="82" id="239"/> - </connections> - </buttonCell> - <buttonCell type="radio" title="Open file…" imagePosition="left" alignment="left" toolTip="Click this to choose a file to open every time BibDesk starts up." tag="3" inset="2" id="178"> - <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> - <font key="font" metaFont="system"/> - <connections> - <accessibilityConnection property="title" destination="82" id="240"/> - </connections> - </buttonCell> - <buttonCell type="radio" title="Save session" bezelStyle="regularSquare" imagePosition="left" alignment="left" tag="4" inset="2" id="179"> - <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> - <font key="font" metaFont="system"/> - <connections> - <accessibilityConnection property="title" destination="82" id="241"/> - </connections> - </buttonCell> - </column> - </cells> - <connections> - <action selector="changeStartupBehavior:" target="-2" id="67"/> - <outlet property="nextKeyView" destination="69" id="89"/> - </connections> - </matrix> <button horizontalHuggingPriority="750" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="LLl-0L-qEl"> <rect key="frame" x="50" y="241" width="227" height="18"/> <buttonCell key="cell" type="check" title="Replace downloaded remote URL" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="PPt-1x-2mK"> @@ -293,15 +242,66 @@ <font key="font" metaFont="system"/> </buttonCell> <connections> - <accessibilityConnection property="title" destination="178" id="235"/> <action selector="chooseAutoOpenFile:" target="-2" id="95"/> </connections> </button> + <button horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="GrW-G2-1Cn"> + <rect key="frame" x="30" y="470" width="87" height="18"/> + <buttonCell key="cell" type="radio" title="Empty file" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="AiP-Wh-kgX"> + <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <connections> + <action selector="changeStartupBehavior:" target="-2" id="Dh0-sm-cXe"/> + </connections> + </button> + <button horizontalHuggingPriority="750" verticalHuggingPriority="750" tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="d55-cY-vVt"> + <rect key="frame" x="30" y="448" width="93" height="18"/> + <buttonCell key="cell" type="radio" title="Do nothing" bezelStyle="regularSquare" imagePosition="left" alignment="left" tag="1" inset="2" id="5xF-27-m58"> + <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <connections> + <action selector="changeStartupBehavior:" target="-2" id="GIp-cp-FaN"/> + </connections> + </button> + <button horizontalHuggingPriority="750" verticalHuggingPriority="750" tag="2" translatesAutoresizingMaskIntoConstraints="NO" id="TAx-0n-uTh"> + <rect key="frame" x="30" y="426" width="100" height="18"/> + <buttonCell key="cell" type="radio" title="Open dialog" bezelStyle="regularSquare" imagePosition="left" alignment="left" tag="2" inset="2" id="39V-td-dOn"> + <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <connections> + <action selector="changeStartupBehavior:" target="-2" id="nTT-kN-gf9"/> + </connections> + </button> + <button toolTip="Click this to choose a file to open every time BibDesk starts up." horizontalHuggingPriority="750" verticalHuggingPriority="750" tag="3" translatesAutoresizingMaskIntoConstraints="NO" id="PK1-ZY-OJw"> + <rect key="frame" x="30" y="404" width="91" height="18"/> + <buttonCell key="cell" type="radio" title="Open file…" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="1bg-0T-fNA"> + <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <connections> + <action selector="changeStartupBehavior:" target="-2" id="zTO-ug-rF6"/> + </connections> + </button> + <button horizontalHuggingPriority="750" verticalHuggingPriority="750" tag="4" translatesAutoresizingMaskIntoConstraints="NO" id="fAb-n5-a7b"> + <rect key="frame" x="30" y="382" width="105" height="18"/> + <buttonCell key="cell" type="radio" title="Save session" bezelStyle="regularSquare" imagePosition="left" alignment="left" tag="4" inset="2" id="hZE-kl-Ydp"> + <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> + <font key="font" metaFont="system"/> + </buttonCell> + <connections> + <action selector="changeStartupBehavior:" target="-2" id="tWM-bX-MAC"/> + </connections> + </button> </subviews> <constraints> <constraint firstItem="165" firstAttribute="top" secondItem="170" secondAttribute="bottom" constant="6" symbolic="YES" id="0rE-t7-sR4"/> + <constraint firstItem="d55-cY-vVt" firstAttribute="top" secondItem="GrW-G2-1Cn" secondAttribute="bottom" constant="6" symbolic="YES" id="2Vp-rq-6gV"/> <constraint firstItem="123" firstAttribute="leading" secondItem="5" secondAttribute="leading" constant="12" id="2pU-yo-OZK"/> <constraint firstItem="194" firstAttribute="leading" secondItem="5" secondAttribute="leading" constant="32" id="3TR-wZ-grB"/> + <constraint firstItem="TAx-0n-uTh" firstAttribute="top" secondItem="d55-cY-vVt" secondAttribute="bottom" constant="6" symbolic="YES" id="3Wb-Gk-Uku"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="165" secondAttribute="trailing" constant="20" symbolic="YES" id="3bO-TG-M2i"/> <constraint firstItem="155" firstAttribute="top" secondItem="154" secondAttribute="bottom" constant="8" symbolic="YES" id="4sf-om-1fe"/> <constraint firstItem="69" firstAttribute="leading" secondItem="199" secondAttribute="trailing" constant="8" symbolic="YES" id="6BE-eR-JDM"/> @@ -315,17 +315,22 @@ <constraint firstItem="231" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="DXg-49-6vQ"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="170" secondAttribute="trailing" constant="20" symbolic="YES" id="Dje-k9-gsa"/> <constraint firstItem="85" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="Ds7-MZ-JQq"/> + <constraint firstItem="PK1-ZY-OJw" firstAttribute="leading" secondItem="GrW-G2-1Cn" secondAttribute="leading" id="Dtx-Pr-IZg"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="191" secondAttribute="trailing" constant="20" symbolic="YES" id="ECp-h5-q1A"/> + <constraint firstItem="194" firstAttribute="leading" secondItem="GrW-G2-1Cn" secondAttribute="leading" id="H3A-3H-kS0"/> <constraint firstItem="egO-bg-2o0" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="HFU-K8-cy4"/> + <constraint firstItem="fAb-n5-a7b" firstAttribute="leading" secondItem="GrW-G2-1Cn" secondAttribute="leading" id="IIC-fO-shY"/> + <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="d55-cY-vVt" secondAttribute="trailing" constant="20" symbolic="YES" id="KLE-4O-6f7"/> <constraint firstItem="123" firstAttribute="top" secondItem="194" secondAttribute="bottom" constant="12" id="Ke5-ru-QqE"/> <constraint firstItem="170" firstAttribute="top" secondItem="155" secondAttribute="bottom" constant="6" symbolic="YES" id="Kj7-8g-ESn"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="231" secondAttribute="trailing" constant="20" symbolic="YES" id="LD1-bm-LSA"/> <constraint firstAttribute="trailing" secondItem="69" secondAttribute="trailing" constant="20" symbolic="YES" id="M5c-N6-kJq"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="LLl-0L-qEl" secondAttribute="trailing" constant="20" symbolic="YES" id="MdS-j3-E1c"/> - <constraint firstItem="65" firstAttribute="top" secondItem="82" secondAttribute="bottom" constant="8" symbolic="YES" id="Nzl-6Q-HNp"/> - <constraint firstItem="144" firstAttribute="leading" secondItem="65" secondAttribute="trailing" constant="8" symbolic="YES" id="Of1-vN-q4J"/> + <constraint firstItem="GrW-G2-1Cn" firstAttribute="top" secondItem="82" secondAttribute="bottom" constant="8" symbolic="YES" id="N9a-vb-T06"/> + <constraint firstItem="PK1-ZY-OJw" firstAttribute="top" secondItem="TAx-0n-uTh" secondAttribute="bottom" constant="6" symbolic="YES" id="Osu-wp-HIi"/> <constraint firstItem="199" firstAttribute="firstBaseline" secondItem="69" secondAttribute="firstBaseline" id="PFd-MV-SN9"/> <constraint firstAttribute="trailing" secondItem="123" secondAttribute="trailing" constant="12" id="PXX-Ex-qCd"/> + <constraint firstItem="144" firstAttribute="firstBaseline" secondItem="PK1-ZY-OJw" secondAttribute="firstBaseline" id="Pjg-b9-svG"/> <constraint firstItem="227" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="PrI-FB-VnM"/> <constraint firstItem="184" firstAttribute="trailing" secondItem="123" secondAttribute="trailing" id="QBd-fc-qmm"/> <constraint firstItem="222" firstAttribute="firstBaseline" secondItem="227" secondAttribute="firstBaseline" id="QHo-0H-EeC"/> @@ -339,15 +344,19 @@ <constraint firstItem="154" firstAttribute="top" secondItem="184" secondAttribute="bottom" constant="12" id="XKr-Xf-U4G"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="82" secondAttribute="trailing" constant="20" symbolic="YES" id="Xgp-hZ-qb9"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="85" secondAttribute="trailing" constant="20" symbolic="YES" id="YXW-wp-38F"/> + <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="GrW-G2-1Cn" secondAttribute="trailing" constant="20" symbolic="YES" id="Zt6-2Z-Khp"/> + <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="TAx-0n-uTh" secondAttribute="trailing" constant="20" symbolic="YES" id="aty-al-1eN"/> <constraint firstItem="165" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="dI3-E2-hw8"/> <constraint firstItem="205" firstAttribute="leading" secondItem="123" secondAttribute="leading" id="dRw-vx-seT"/> - <constraint firstItem="144" firstAttribute="centerY" secondItem="65" secondAttribute="centerY" constant="20" id="fwG-Gi-OIB"/> - <constraint firstItem="194" firstAttribute="leading" secondItem="65" secondAttribute="leading" id="g62-Dk-khq"/> + <constraint firstItem="TAx-0n-uTh" firstAttribute="leading" secondItem="GrW-G2-1Cn" secondAttribute="leading" id="dYb-KT-GbY"/> + <constraint firstItem="fAb-n5-a7b" firstAttribute="top" secondItem="PK1-ZY-OJw" secondAttribute="bottom" constant="6" symbolic="YES" id="fgP-Zo-HKi"/> <constraint firstItem="xYE-He-fuf" firstAttribute="leading" secondItem="egO-bg-2o0" secondAttribute="trailing" constant="8" symbolic="YES" id="gfb-dS-Hvx"/> + <constraint firstItem="144" firstAttribute="leading" secondItem="PK1-ZY-OJw" secondAttribute="trailing" constant="8" symbolic="YES" id="hB8-Hx-VqI"/> <constraint firstItem="199" firstAttribute="leading" secondItem="194" secondAttribute="trailing" constant="8" symbolic="YES" id="hBg-oM-iu0"/> <constraint firstItem="222" firstAttribute="leading" secondItem="227" secondAttribute="trailing" constant="8" symbolic="YES" id="iLc-Gq-gy8"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="199" secondAttribute="trailing" constant="20" symbolic="YES" id="ifR-LO-1pA"/> <constraint firstItem="LLl-0L-qEl" firstAttribute="top" secondItem="egO-bg-2o0" secondAttribute="bottom" constant="6" symbolic="YES" id="kC7-XS-Y4M"/> + <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="fAb-n5-a7b" secondAttribute="trailing" constant="20" symbolic="YES" id="knb-He-SdP"/> <constraint firstItem="84" firstAttribute="top" secondItem="123" secondAttribute="bottom" constant="12" id="mii-C0-7dh"/> <constraint firstItem="207" firstAttribute="leading" secondItem="82" secondAttribute="leading" id="oWl-M3-6oM"/> <constraint firstAttribute="trailing" secondItem="144" secondAttribute="trailing" constant="20" symbolic="YES" id="otr-2m-l7F"/> @@ -354,7 +363,6 @@ <constraint firstItem="170" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="owg-AD-7TO"/> <constraint firstAttribute="trailing" secondItem="xYE-He-fuf" secondAttribute="trailing" constant="20" symbolic="YES" id="qPe-JU-GsM"/> <constraint firstItem="154" firstAttribute="leading" secondItem="82" secondAttribute="leading" id="rST-Wj-mMg"/> - <constraint firstItem="194" firstAttribute="top" secondItem="65" secondAttribute="bottom" constant="12" id="s66-Qc-QKD"/> <constraint firstItem="222" firstAttribute="top" secondItem="207" secondAttribute="bottom" constant="8" symbolic="YES" id="sF5-F1-U29"/> <constraint firstItem="184" firstAttribute="top" secondItem="222" secondAttribute="bottom" constant="12" id="tVh-7K-DMK"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="154" secondAttribute="trailing" constant="20" symbolic="YES" id="uoI-t2-9YU"/> @@ -362,13 +370,12 @@ <constraint firstItem="231" firstAttribute="top" secondItem="191" secondAttribute="bottom" constant="6" symbolic="YES" id="vr1-Bd-VO4"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="84" secondAttribute="trailing" constant="20" symbolic="YES" id="vuX-hj-JJ7"/> <constraint firstItem="191" firstAttribute="leading" secondItem="194" secondAttribute="leading" id="x3m-Hw-nsf"/> + <constraint firstItem="d55-cY-vVt" firstAttribute="leading" secondItem="GrW-G2-1Cn" secondAttribute="leading" id="xP4-QD-XOn"/> <constraint firstItem="egO-bg-2o0" firstAttribute="top" secondItem="85" secondAttribute="bottom" constant="6" symbolic="YES" id="xb3-mj-fJM"/> <constraint firstItem="82" firstAttribute="top" secondItem="5" secondAttribute="top" constant="20" symbolic="YES" id="zHG-LX-bPa"/> <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="207" secondAttribute="trailing" constant="20" symbolic="YES" id="zK9-tF-bFT"/> + <constraint firstItem="194" firstAttribute="top" secondItem="fAb-n5-a7b" secondAttribute="bottom" constant="12" id="zYz-1H-Ewd"/> </constraints> - <connections> - <outlet property="nextKeyView" destination="65" id="160"/> - </connections> <point key="canvasLocation" x="139" y="166.5"/> </customView> </objects> Modified: trunk/bibdesk/BibPref_General.h =================================================================== --- trunk/bibdesk/BibPref_General.h 2021-05-03 09:51:31 UTC (rev 25838) +++ trunk/bibdesk/BibPref_General.h 2021-05-03 13:58:20 UTC (rev 25839) @@ -38,7 +38,11 @@ #import "BDSKPreferencePane.h" @interface BibPref_General : BDSKPreferencePane { - NSMatrix *startupBehaviorRadio; + NSButton *emptyStartupRadioButton; + NSButton *nothingStartupRadioButton; + NSButton *openStartupRadioButton; + NSButton *fileStartupRadioButton; + NSButton *savedStartupRadioButton; NSPopUpButton *emailTemplatePopup; NSButton *editOnPasteButton; NSButton *downloadImportedURLsButton; @@ -54,7 +58,11 @@ NSButton *defaultBibFileButton; } -@property (nonatomic, assign) IBOutlet NSMatrix *startupBehaviorRadio; +@property (nonatomic, assign) IBOutlet NSButton *emptyStartupRadioButton; +@property (nonatomic, assign) IBOutlet NSButton *nothingStartupRadioButton; +@property (nonatomic, assign) IBOutlet NSButton *openStartupRadioButton; +@property (nonatomic, assign) IBOutlet NSButton *fileStartupRadioButton; +@property (nonatomic, assign) IBOutlet NSButton *savedStartupRadioButton; @property (nonatomic, assign) IBOutlet NSPopUpButton *emailTemplatePopup; @property (nonatomic, assign) IBOutlet NSButton *editOnPasteButton; @property (nonatomic, assign) IBOutlet NSButton *downloadImportedURLsButton; Modified: trunk/bibdesk/BibPref_General.m =================================================================== --- trunk/bibdesk/BibPref_General.m 2021-05-03 09:51:31 UTC (rev 25838) +++ trunk/bibdesk/BibPref_General.m 2021-05-03 13:58:20 UTC (rev 25839) @@ -58,7 +58,7 @@ @implementation BibPref_General -@synthesize startupBehaviorRadio, emailTemplatePopup, editOnPasteButton, downloadImportedURLsButton, downloadedTypesTextField, replaceDownloadedURLsButton, checkForUpdatesButton, warnOnDeleteButton, warnOnRemovalFromGroupButton, warnOnRenameGroupButton, warnOnGenerateCiteKeysButton, askToTrashFilesButton, defaultBibFileTextField, defaultBibFileButton; +@synthesize emptyStartupRadioButton, nothingStartupRadioButton, openStartupRadioButton, fileStartupRadioButton, savedStartupRadioButton, emailTemplatePopup, editOnPasteButton, downloadImportedURLsButton, downloadedTypesTextField, replaceDownloadedURLsButton, checkForUpdatesButton, warnOnDeleteButton, warnOnRemovalFromGroupButton, warnOnRenameGroupButton, warnOnGenerateCiteKeysButton, askToTrashFilesButton, defaultBibFileTextField, defaultBibFileButton; - (void)loadView { [super loadView]; @@ -87,7 +87,11 @@ - (void)updateStartupBehaviorUI { NSInteger startupBehavior = [sud integerForKey:BDSKStartupBehaviorKey]; - [startupBehaviorRadio selectCellWithTag:startupBehavior]; + [emptyStartupRadioButton setState:[emptyStartupRadioButton tag] == startupBehavior ? NSOnState : NSOffState]; + [nothingStartupRadioButton setState:[nothingStartupRadioButton tag] == startupBehavior ? NSOnState : NSOffState]; + [openStartupRadioButton setState:[openStartupRadioButton tag] == startupBehavior ? NSOnState : NSOffState]; + [fileStartupRadioButton setState:[fileStartupRadioButton tag] == startupBehavior ? NSOnState : NSOffState]; + [savedStartupRadioButton setState:[savedStartupRadioButton tag] == startupBehavior ? NSOnState : NSOffState]; [defaultBibFileTextField setEnabled:startupBehavior == 3]; [defaultBibFileButton setEnabled:startupBehavior == 3]; } @@ -151,8 +155,8 @@ } - (IBAction)changeStartupBehavior:(id)sender{ - NSInteger n = [[sender selectedCell] tag]; - [sud setObject:[NSNumber numberWithInteger:n] forKey:BDSKStartupBehaviorKey]; + NSInteger n = [sender tag]; + [sud setInteger:n forKey:BDSKStartupBehaviorKey]; [self updateStartupBehaviorUI]; if(n == 3 && [[defaultBibFileTextField stringValue] isEqualToString:@""]) [self chooseAutoOpenFile:nil]; Modified: trunk/bibdesk/de.lproj/BibPref_General.strings =================================================================== (Binary files differ) Modified: trunk/bibdesk/en.lproj/BibPref_General.strings =================================================================== (Binary files differ) Modified: trunk/bibdesk/fr.lproj/BibPref_General.strings =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit