aka RedditBar, Mac OS X menu bar reddit client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Prefs.xib 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4514" systemVersion="13A603" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
  3. <dependencies>
  4. <deployment defaultVersion="1080" identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="4514"/>
  6. </dependencies>
  7. <objects>
  8. <customObject id="-2" userLabel="File's Owner" customClass="PrefController">
  9. <connections>
  10. <outlet property="lengthField" destination="MAv-jO-hIv" id="tbQ-UG-2ew"/>
  11. <outlet property="lengthFormat" destination="zpc-oG-upp" id="AKk-rK-pM3"/>
  12. <outlet property="lengthStepper" destination="jxz-fQ-M1L" id="NK5-G4-9UJ"/>
  13. <outlet property="password" destination="ARP-lb-J16" id="EDd-om-ciF"/>
  14. <outlet property="progress" destination="vz0-tR-n1f" id="t06-dO-WKY"/>
  15. <outlet property="subreddits" destination="EhP-FS-8dT" id="td1-kv-jQm"/>
  16. <outlet property="subscriptions" destination="vW5-Cp-Bm1" id="gja-K0-7Uh"/>
  17. <outlet property="username" destination="0mi-88-o94" id="4bB-K2-q5m"/>
  18. <outlet property="win" destination="1" id="g0G-6q-WjE"/>
  19. </connections>
  20. </customObject>
  21. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  22. <customObject id="-3" userLabel="Application"/>
  23. <window title="RedditBar Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" wantsToBeColor="NO" animationBehavior="default" id="1">
  24. <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
  25. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  26. <rect key="contentRect" x="196" y="240" width="340" height="339"/>
  27. <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1058"/>
  28. <view key="contentView" id="2">
  29. <rect key="frame" x="0.0" y="0.0" width="340" height="339"/>
  30. <autoresizingMask key="autoresizingMask"/>
  31. <subviews>
  32. <textField verticalHuggingPriority="750" id="0mi-88-o94">
  33. <rect key="frame" x="120" y="299" width="200" height="22"/>
  34. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  35. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="xlI-hU-MqM">
  36. <font key="font" metaFont="system"/>
  37. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  38. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  39. </textFieldCell>
  40. </textField>
  41. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="f72-fM-yQc">
  42. <rect key="frame" x="18" y="304" width="96" height="17"/>
  43. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  44. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Username: " id="GTO-OP-MYS">
  45. <font key="font" metaFont="system"/>
  46. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  47. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  48. </textFieldCell>
  49. </textField>
  50. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="JMQ-a6-DKC">
  51. <rect key="frame" x="18" y="270" width="96" height="17"/>
  52. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  53. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Password:" id="m11-YF-fEa">
  54. <font key="font" metaFont="system"/>
  55. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  56. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  57. </textFieldCell>
  58. </textField>
  59. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="qFP-pd-32c">
  60. <rect key="frame" x="18" y="52" width="96" height="17"/>
  61. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  62. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Items:" id="FNJ-RL-DXT">
  63. <font key="font" metaFont="system"/>
  64. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  65. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  66. </textFieldCell>
  67. </textField>
  68. <secureTextField verticalHuggingPriority="750" id="ARP-lb-J16">
  69. <rect key="frame" x="120" y="267" width="200" height="22"/>
  70. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  71. <secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesSingleLineMode="YES" id="We7-pG-rAt">
  72. <font key="font" metaFont="system"/>
  73. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  74. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  75. <allowedInputSourceLocales>
  76. <string>NSAllRomanInputSourcesLocaleIdentifier</string>
  77. </allowedInputSourceLocales>
  78. </secureTextFieldCell>
  79. </secureTextField>
  80. <button verticalHuggingPriority="750" id="qwZ-cF-1JN">
  81. <rect key="frame" x="224" y="13" width="102" height="32"/>
  82. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  83. <buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Mqa-FJ-C43">
  84. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  85. <font key="font" metaFont="system"/>
  86. </buttonCell>
  87. <connections>
  88. <action selector="buttonSave:" target="-2" id="thy-nQ-Nld"/>
  89. </connections>
  90. </button>
  91. <button verticalHuggingPriority="750" id="vO2-NN-i1n">
  92. <rect key="frame" x="14" y="13" width="102" height="32"/>
  93. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  94. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="TjO-Z6-Vng">
  95. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  96. <font key="font" metaFont="system"/>
  97. <string key="keyEquivalent" base64-UTF8="YES">
  98. Gw
  99. </string>
  100. </buttonCell>
  101. <connections>
  102. <action selector="performClose:" target="1" id="A62-EW-ZrT"/>
  103. </connections>
  104. </button>
  105. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="R9P-ZH-hHZ">
  106. <rect key="frame" x="18" y="235" width="96" height="17"/>
  107. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  108. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Subreddits:" id="Cmr-7n-CaG">
  109. <font key="font" metaFont="system"/>
  110. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  111. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  112. </textFieldCell>
  113. </textField>
  114. <scrollView horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="8ew-wY-1Yh">
  115. <rect key="frame" x="20" y="79" width="300" height="150"/>
  116. <autoresizingMask key="autoresizingMask"/>
  117. <clipView key="contentView" copiesOnScroll="NO" id="ENU-Jw-8fO">
  118. <rect key="frame" x="1" y="1" width="298" height="148"/>
  119. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  120. <subviews>
  121. <textView editable="NO" importsGraphics="NO" richText="NO" findStyle="panel" allowsUndo="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" id="EhP-FS-8dT">
  122. <rect key="frame" x="0.0" y="0.0" width="298" height="148"/>
  123. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  124. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  125. <size key="minSize" width="298" height="148"/>
  126. <size key="maxSize" width="463" height="10000000"/>
  127. <color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  128. <size key="minSize" width="298" height="148"/>
  129. <size key="maxSize" width="463" height="10000000"/>
  130. </textView>
  131. </subviews>
  132. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  133. </clipView>
  134. <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="b1U-AL-HNy">
  135. <rect key="frame" x="-100" y="-100" width="87" height="18"/>
  136. <autoresizingMask key="autoresizingMask"/>
  137. </scroller>
  138. <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="z7j-r6-B6f">
  139. <rect key="frame" x="283" y="1" width="16" height="148"/>
  140. <autoresizingMask key="autoresizingMask"/>
  141. </scroller>
  142. </scrollView>
  143. <button id="XZM-90-hQ8">
  144. <rect key="frame" x="118" y="234" width="204" height="18"/>
  145. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  146. <buttonCell key="cell" type="check" title="Subscriptions" bezelStyle="regularSquare" imagePosition="overlaps" alignment="right" state="on" inset="2" id="vW5-Cp-Bm1">
  147. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  148. <font key="font" metaFont="system"/>
  149. </buttonCell>
  150. <connections>
  151. <action selector="toggleSubs:" target="-2" id="TPd-6W-xQv"/>
  152. </connections>
  153. </button>
  154. <textField verticalHuggingPriority="750" id="MAv-jO-hIv">
  155. <rect key="frame" x="120" y="49" width="57" height="22"/>
  156. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  157. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="right" title="10" drawsBackground="YES" id="0SD-Tf-uZS">
  158. <font key="font" metaFont="system"/>
  159. <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
  160. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  161. </textFieldCell>
  162. <connections>
  163. <action selector="lengthDidChange:" target="-2" id="fU0-l2-dIz"/>
  164. <outlet property="formatter" destination="zpc-oG-upp" id="cw1-hM-34K"/>
  165. </connections>
  166. </textField>
  167. <stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" id="jxz-fQ-M1L">
  168. <rect key="frame" x="182" y="46" width="19" height="27"/>
  169. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  170. <stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="Gba-jV-Ouh"/>
  171. <connections>
  172. <action selector="lengthDidChange:" target="-2" id="CJm-58-seM"/>
  173. </connections>
  174. </stepper>
  175. <progressIndicator canDrawConcurrently="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="vz0-tR-n1f">
  176. <rect key="frame" x="267" y="49" width="16" height="16"/>
  177. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  178. </progressIndicator>
  179. </subviews>
  180. </view>
  181. </window>
  182. <numberFormatter formatterBehavior="10_0" positiveFormat="0" negativeFormat="-0" hasThousandSeparators="NO" thousandSeparator="," id="zpc-oG-upp">
  183. <attributedString key="attributedStringForZero">
  184. <fragment content="0"/>
  185. </attributedString>
  186. <real key="minimum" value="0.0"/>
  187. <real key="maximum" value="100"/>
  188. <metadata>
  189. <bool key="localizesFormat" value="YES"/>
  190. <real key="inspectorSampleValue" value="1"/>
  191. </metadata>
  192. </numberFormatter>
  193. <menu title="Main Menu" systemMenu="main" id="IWp-hb-gSM">
  194. <items>
  195. <menuItem title="RedditBar" id="U8B-tM-Hrf">
  196. <modifierMask key="keyEquivalentModifierMask"/>
  197. <menu key="submenu" title="RedditBar" systemMenu="apple" id="94G-O2-jwC">
  198. <items>
  199. <menuItem title="About RedditBar" id="YW3-K5-K2j">
  200. <modifierMask key="keyEquivalentModifierMask"/>
  201. </menuItem>
  202. <menuItem isSeparatorItem="YES" id="twJ-Mg-T1U"/>
  203. <menuItem title="Preferences…" keyEquivalent="," id="fNd-08-bdx"/>
  204. <menuItem isSeparatorItem="YES" id="s0T-Bl-Th7"/>
  205. <menuItem title="Services" id="Tkq-PT-Dyn">
  206. <modifierMask key="keyEquivalentModifierMask"/>
  207. <menu key="submenu" title="Services" systemMenu="services" id="sdR-Rd-lph"/>
  208. </menuItem>
  209. <menuItem isSeparatorItem="YES" id="obO-uU-IXK"/>
  210. <menuItem title="Hide NewApplication" keyEquivalent="h" id="fH1-kn-NXO"/>
  211. <menuItem title="Hide Others" keyEquivalent="h" id="J40-1v-jag">
  212. <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
  213. </menuItem>
  214. <menuItem title="Show All" id="UbR-hU-EII">
  215. <modifierMask key="keyEquivalentModifierMask"/>
  216. </menuItem>
  217. <menuItem isSeparatorItem="YES" id="6ba-Ih-432"/>
  218. <menuItem title="Quit NewApplication" keyEquivalent="q" id="ROS-gn-vTj"/>
  219. </items>
  220. </menu>
  221. </menuItem>
  222. <menuItem title="File" id="c7K-B5-rY5">
  223. <modifierMask key="keyEquivalentModifierMask"/>
  224. <menu key="submenu" title="File" id="24r-2D-3jT">
  225. <items>
  226. <menuItem title="Close" keyEquivalent="w" id="bqC-fi-B0U">
  227. <connections>
  228. <action selector="close:" target="-1" id="qY7-vk-B61"/>
  229. </connections>
  230. </menuItem>
  231. </items>
  232. </menu>
  233. </menuItem>
  234. <menuItem title="Edit" id="czz-51-wxr">
  235. <modifierMask key="keyEquivalentModifierMask"/>
  236. <menu key="submenu" title="Edit" id="YpZ-Vi-h1u">
  237. <items>
  238. <menuItem title="Undo" keyEquivalent="z" id="IyX-7D-esH">
  239. <connections>
  240. <action selector="undo:" target="-1" id="6su-5K-AYO"/>
  241. </connections>
  242. </menuItem>
  243. <menuItem isSeparatorItem="YES" id="v8m-cQ-DEf"/>
  244. <menuItem title="Cut" keyEquivalent="x" id="32T-3T-EcY">
  245. <connections>
  246. <action selector="cut:" target="-1" id="TeB-yv-dFt"/>
  247. </connections>
  248. </menuItem>
  249. <menuItem title="Copy" keyEquivalent="c" id="wSY-To-FDI">
  250. <connections>
  251. <action selector="copy:" target="-1" id="9qj-dU-ORV"/>
  252. </connections>
  253. </menuItem>
  254. <menuItem title="Paste" keyEquivalent="v" id="j3h-hj-rfI">
  255. <connections>
  256. <action selector="paste:" target="-1" id="7m5-ZQ-jR1"/>
  257. </connections>
  258. </menuItem>
  259. <menuItem title="Delete" id="EtB-yf-Wow">
  260. <modifierMask key="keyEquivalentModifierMask"/>
  261. <connections>
  262. <action selector="delete:" target="-1" id="RD6-ys-5oS"/>
  263. </connections>
  264. </menuItem>
  265. <menuItem title="Select All" keyEquivalent="a" id="qSu-ha-DhM">
  266. <connections>
  267. <action selector="selectAll:" target="-1" id="TBx-Re-gUK"/>
  268. </connections>
  269. </menuItem>
  270. </items>
  271. </menu>
  272. </menuItem>
  273. </items>
  274. </menu>
  275. </objects>
  276. </document>