Pārlūkot izejas kodu

Bugfix Pref Window Stepper. Can set unlimited title length. Bump to 1.3.1

Thomas Buck 10 gadus atpakaļ
vecāks
revīzija
252dac55af

+ 4
- 0
RedditBar.xcodeproj/project.pbxproj Parādīt failu

@@ -497,12 +497,14 @@
497 497
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
498 498
 				CODE_SIGN_ENTITLEMENTS = RedditBar/RedditBar.entitlements;
499 499
 				CODE_SIGN_IDENTITY = "Mac Developer";
500
+				"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
500 501
 				COMBINE_HIDPI_IMAGES = YES;
501 502
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
502 503
 				GCC_PREFIX_HEADER = "RedditBar/RedditBar-Prefix.pch";
503 504
 				INFOPLIST_FILE = "RedditBar/RedditBar-Info.plist";
504 505
 				MACOSX_DEPLOYMENT_TARGET = 10.8;
505 506
 				PRODUCT_NAME = "$(TARGET_NAME)";
507
+				PROVISIONING_PROFILE = "";
506 508
 				WRAPPER_EXTENSION = app;
507 509
 			};
508 510
 			name = Debug;
@@ -513,12 +515,14 @@
513 515
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
514 516
 				CODE_SIGN_ENTITLEMENTS = RedditBar/RedditBar.entitlements;
515 517
 				CODE_SIGN_IDENTITY = "Mac Developer";
518
+				"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
516 519
 				COMBINE_HIDPI_IMAGES = YES;
517 520
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
518 521
 				GCC_PREFIX_HEADER = "RedditBar/RedditBar-Prefix.pch";
519 522
 				INFOPLIST_FILE = "RedditBar/RedditBar-Info.plist";
520 523
 				MACOSX_DEPLOYMENT_TARGET = 10.8;
521 524
 				PRODUCT_NAME = "$(TARGET_NAME)";
525
+				PROVISIONING_PROFILE = "";
522 526
 				WRAPPER_EXTENSION = app;
523 527
 			};
524 528
 			name = Release;

+ 7
- 7
RedditBar/Base.lproj/Prefs.xib Parādīt failu

@@ -185,7 +185,7 @@ Gw
185 185
                     <stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" id="jxz-fQ-M1L">
186 186
                         <rect key="frame" x="130" y="157" width="19" height="27"/>
187 187
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
188
-                        <stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="Gba-jV-Ouh"/>
188
+                        <stepperCell key="cell" continuous="YES" alignment="left" minValue="1" maxValue="100" doubleValue="1" id="Gba-jV-Ouh"/>
189 189
                         <connections>
190 190
                             <action selector="lengthDidChange:" target="-2" id="CJm-58-seM"/>
191 191
                             <outlet property="formatter" destination="zpc-oG-upp" id="nXg-hE-DQX"/>
@@ -194,7 +194,7 @@ Gw
194 194
                     <stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" id="2aV-fo-xh7">
195 195
                         <rect key="frame" x="264" y="157" width="19" height="27"/>
196 196
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
197
-                        <stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="BWQ-gm-H9h"/>
197
+                        <stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" doubleValue="1" id="BWQ-gm-H9h"/>
198 198
                         <connections>
199 199
                             <action selector="titleDidChange:" target="-2" id="l0Y-Mg-1KD"/>
200 200
                             <outlet property="formatter" destination="hDb-Na-Vku" id="EL4-2q-XKw"/>
@@ -244,7 +244,7 @@ Gw
244 244
                     <stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" id="uaS-Xm-tIa">
245 245
                         <rect key="frame" x="291" y="58" width="19" height="27"/>
246 246
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
247
-                        <stepperCell key="cell" continuous="YES" alignment="left" maxValue="100" id="rTZ-Zs-1eO"/>
247
+                        <stepperCell key="cell" continuous="YES" alignment="left" minValue="1" maxValue="100" doubleValue="1" id="rTZ-Zs-1eO"/>
248 248
                         <connections>
249 249
                             <action selector="refreshDidChange:" target="-2" id="4Di-oE-RDC"/>
250 250
                             <outlet property="formatter" destination="Y11-Cs-X1g" id="hoL-jC-QPe"/>
@@ -264,10 +264,10 @@ Gw
264 264
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
265 265
                         <popUpButtonCell key="cell" type="push" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" id="zJW-6u-fHd">
266 266
                             <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
267
-                            <font key="font" metaFont="system"/>
267
+                            <font key="font" metaFont="menu"/>
268 268
                             <menu key="menu" title="OtherViews" id="Ow7-gc-PGv">
269 269
                                 <items>
270
-                                    <menuItem title="hot" state="on" id="sKV-FZ-wbQ">
270
+                                    <menuItem title="hot" id="sKV-FZ-wbQ">
271 271
                                         <modifierMask key="keyEquivalentModifierMask"/>
272 272
                                     </menuItem>
273 273
                                     <menuItem title="new" id="dxr-Ml-O8i">
@@ -295,7 +295,7 @@ Gw
295 295
             <attributedString key="attributedStringForZero">
296 296
                 <fragment content="0"/>
297 297
             </attributedString>
298
-            <real key="minimum" value="1"/>
298
+            <real key="minimum" value="0.0"/>
299 299
             <real key="maximum" value="140"/>
300 300
             <metadata>
301 301
                 <bool key="localizesFormat" value="YES"/>
@@ -306,7 +306,7 @@ Gw
306 306
             <attributedString key="attributedStringForZero">
307 307
                 <fragment content="0"/>
308 308
             </attributedString>
309
-            <real key="minimum" value="0.0"/>
309
+            <real key="minimum" value="1"/>
310 310
             <decimal key="maximum" value="NaN"/>
311 311
             <metadata>
312 312
                 <bool key="localizesFormat" value="YES"/>

+ 3
- 1
RedditBar/Reddit.m Parādīt failu

@@ -172,7 +172,9 @@ NSString *subredditFormat = @" [r/%@]";
172 172
         }
173 173
         NSString *subreddit = [NSString stringWithFormat:subredditFormat, [current valueForKey:@"subreddit"]];
174 174
         NSInteger maxLen = titleLength;
175
-        if ([subreddit length] >= titleLength)
175
+        if (titleLength == 0)
176
+            maxLen = 1000; // Should be enough to not crop
177
+        if ([subreddit length] >= maxLen)
176 178
         showSubs = FALSE;
177 179
         if (showSubs)
178 180
         maxLen -= [subreddit length];

+ 2
- 2
RedditBar/RedditBar-Info.plist Parādīt failu

@@ -17,11 +17,11 @@
17 17
 	<key>CFBundlePackageType</key>
18 18
 	<string>APPL</string>
19 19
 	<key>CFBundleShortVersionString</key>
20
-	<string>1.3.0</string>
20
+	<string>1.3.1</string>
21 21
 	<key>CFBundleSignature</key>
22 22
 	<string>????</string>
23 23
 	<key>CFBundleVersion</key>
24
-	<string>275</string>
24
+	<string>278</string>
25 25
 	<key>LSApplicationCategoryType</key>
26 26
 	<string>public.app-category.utilities</string>
27 27
 	<key>LSMinimumSystemVersion</key>

+ 1
- 1
web/index.html Parādīt failu

@@ -36,7 +36,7 @@
36 36
                     <a class="right carousel-control" href="#carousel" data-slide="next"></a>
37 37
                 </div>
38 38
                 <p class="lead">Quickly open Reddit links and get notified about new PMs, right from your Mac system menu bar.</p>
39
-                <p><a href="#"><img src="badge.svg" alt="App Store Badge"></a></p>
39
+                <p><a href="https://itunes.apple.com/us/app/redditbar/id787870887?ls=1&mt=12"><img src="badge.svg" alt="App Store Badge"></a></p>
40 40
                 <p class="small text-muted">Requires Mac OS X 10.8 or newer</p>
41 41
             </div>
42 42
             <div class="row marketing">

Notiek ielāde…
Atcelt
Saglabāt