[vlc-devel] commit: macosx_dialog_provider: Upon cancel, set the progress bar to indeterminate. (Pierre d'Herbemont )
git version control
git at videolan.org
Mon Jan 4 23:48:21 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Jan 4 11:48:11 2010 +0100| [cf643b1cefd8aed1d2f8a52d0264b4e1d1085b96] | committer: Pierre d'Herbemont
macosx_dialog_provider: Upon cancel, set the progress bar to indeterminate.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf643b1cefd8aed1d2f8a52d0264b4e1d1085b96
---
.../gui/macosx_dialog_provider/VLCProgressPanel.m | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx_dialog_provider/VLCProgressPanel.m b/modules/gui/macosx_dialog_provider/VLCProgressPanel.m
index 07c4e4a..10853e3 100644
--- a/modules/gui/macosx_dialog_provider/VLCProgressPanel.m
+++ b/modules/gui/macosx_dialog_provider/VLCProgressPanel.m
@@ -134,6 +134,8 @@
- (IBAction)cancelDialog:(id)sender
{
_isCancelled = YES;
+ [_progressBar setIndeterminate:YES];
+ [_progressBar startAnimation:self];
}
@end
More information about the vlc-devel
mailing list