From 0102e99d3c720722ffff962d1466c1d39bb5a33e Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Fri, 11 Jan 2013 12:28:42 -0800 Subject: [PATCH] Show actual progress bar in indeterminate state --- AppKit/Themes/Aristo/ThemeDescriptors.j | 2 +- AppKit/Themes/Aristo2/ThemeDescriptors.j | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/Themes/Aristo/ThemeDescriptors.j b/AppKit/Themes/Aristo/ThemeDescriptors.j index eb89fefb8..ab74599f0 100755 --- a/AppKit/Themes/Aristo/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo/ThemeDescriptors.j @@ -2788,7 +2788,7 @@ var themedButtonValues = nil, + (CPProgressIndicator)themedIndeterminateBarProgressIndicator { var progressBar = [[CPProgressIndicator alloc] initWithFrame:CGRectMake(0, 0, 75, 16)]; - [progressBar setDoubleValue:30]; + [progressBar setIndeterminate:YES]; [self registerThemeValues:nil forView:progressBar inherit:themedIndeterminateProgressIndicator]; diff --git a/AppKit/Themes/Aristo2/ThemeDescriptors.j b/AppKit/Themes/Aristo2/ThemeDescriptors.j index 14c652209..ea9c421e2 100644 --- a/AppKit/Themes/Aristo2/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo2/ThemeDescriptors.j @@ -2498,7 +2498,7 @@ var themedButtonValues = nil, + (CPProgressIndicator)themedIndeterminateBarProgressIndicator { var progressBar = [[CPProgressIndicator alloc] initWithFrame:CGRectMake(0, 0, 75, 16)]; - [progressBar setDoubleValue:30]; + [progressBar setIndeterminate:YES]; [self registerThemeValues:nil forView:progressBar inherit:themedIndeterminateProgressIndicator];