Skip to content

Commit

Permalink
Merge pull request #668 from barijaona/bugfixes
Browse files Browse the repository at this point in the history
Bug fixes (continued)
  • Loading branch information
josh64x2 committed Jun 8, 2016
2 parents 8fd28b3 + 2e84a73 commit 3b4112c
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions SharedSupport/Styles/Classy.viennastyle/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
1 change: 1 addition & 0 deletions SharedSupport/Styles/Default.viennastyle/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,5 @@ img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
height: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,5 @@ img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
height: auto !important;
}
1 change: 1 addition & 0 deletions SharedSupport/Styles/Papes.viennastyle/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
1 change: 1 addition & 0 deletions SharedSupport/Styles/Perlucida.viennastyle/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ body {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ ul {
max-width: 100%;
clear: both;
margin-bottom: 1em;
height: auto !important;
}

.articleBody img {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,5 @@ ul {
max-width: 100%;
clear: both;
margin-bottom: 1em;
height: auto !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
1 change: 1 addition & 0 deletions SharedSupport/Styles/Tyger.viennastyle/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ img, table, td, blockquote, code, pre, textarea, input, iframe, object, embed, v
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
1 change: 1 addition & 0 deletions SharedSupport/Styles/Xcast.viennastyle/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ embed, video {
img {
box-sizing: border-box;
-webkit-box-sizing: border-box;
height: auto !important;
}
2 changes: 1 addition & 1 deletion src/AppController.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
NSMutableDictionary * scriptPathMappings;
NSMenu * appDockMenu;
NSStatusItem * appStatusItem;
BOOL isProgressAnimatorActive;
NSInteger progressCount;
NSDictionary * standardURLs;
NSTimer * checkTimer;
NSInteger lastCountOfUnread;
Expand Down
12 changes: 5 additions & 7 deletions src/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ -(instancetype)init
if ((self = [super init]) != nil)
{
scriptPathMappings = [[NSMutableDictionary alloc] init];
isProgressAnimatorActive = NO;
progressCount = 0;
persistedStatusText = nil;
lastCountOfUnread = 0;
appStatusItem = nil;
Expand Down Expand Up @@ -3900,22 +3900,20 @@ -(void)sendBlogEvent:(NSString *)externalEditorBundleIdentifier title:(NSString
*/
-(void)startProgressIndicator
{
if (!isProgressAnimatorActive) {
if (progressCount++ == 0)
[spinner startAnimation:self];
isProgressAnimatorActive = YES;
}
}

/* stopProgressIndicator
* Stops the progress indicator on the info bar running
*/
-(void)stopProgressIndicator
{
NSAssert(isProgressAnimatorActive, @"Called stopProgressIndicator without a matching startProgressIndicator");
if (isProgressAnimatorActive)
NSAssert(progressCount > 0, @"Called stopProgressIndicator without a matching startProgressIndicator");
if (--progressCount < 1)
{
[spinner stopAnimation:self];
isProgressAnimatorActive = NO;
progressCount = 0;
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/FoldersTree.m
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@ -(NSInteger)nextFolderWithUnreadAfterNode:(TreeNode *)startingNode
node = startingNode.parentNode.nextSibling;
};
if (node ==nil)
{
node = startingNode.parentNode.parentNode.firstChild;
}
if (node ==nil)
{
node = startingNode.parentNode.firstChild;
}
Expand Down

0 comments on commit 3b4112c

Please sign in to comment.