# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1299944691 0 # Node ID cf6246f86c04f87a0c37337a12c162361d961628 # Parent 2c8fc0fd8c11f544bbeb7e92b472f5b08b595d61 Fixed the percent/progress indicators from always being indeterminate. diff -r 2c8fc0fd8c11 -r cf6246f86c04 mac/dw.m --- a/mac/dw.m Sat Mar 12 14:56:44 2011 +0000 +++ b/mac/dw.m Sat Mar 12 15:44:51 2011 +0000 @@ -2723,9 +2723,12 @@ HWND API dw_percent_new(ULONG cid) { DWPercent *percent = [[DWPercent alloc] init]; + [percent setStyle:NSProgressIndicatorBarStyle]; [percent setBezeled:YES]; [percent setMaxValue:100]; [percent setMinValue:0]; + [percent incrementBy:1]; + [percent setIndeterminate:NO]; /*[percent setTag:cid]; Why doesn't this work? */ return percent; }