Commit c7c309ce authored by Felix Paul Kühne's avatar Felix Paul Kühne

* introduction of a widget-free progress bar dialogue, partially already...

* introduction of a widget-free progress bar dialogue, partially already committed in [15617] (core and OSX only, refs #553)
parent b67e6fc2
...@@ -233,15 +233,13 @@ ...@@ -233,15 +233,13 @@
-(void)updateDialog -(void)updateDialog
{ {
int i = 0;
for( i = 0 ; i< p_dialog->i_widgets; i++ )
{
if( p_dialog->i_flags & DIALOG_USER_PROGRESS ) if( p_dialog->i_flags & DIALOG_USER_PROGRESS )
{ {
[o_prog_description setStringValue: \ [o_prog_description setStringValue: \
[NSString stringWithUTF8String: p_dialog->psz_description]]; [NSString stringWithUTF8String: p_dialog->psz_description]];
[o_prog_bar setDoubleValue: \ [o_prog_bar setDoubleValue: \
(double)(p_dialog->val.f_float)]; (double)(p_dialog->val.f_float)];
msg_Dbg( p_intf, "new value: %f", [o_prog_bar doubleValue] );
if( [o_prog_bar doubleValue] == 100.0 ) if( [o_prog_bar doubleValue] == 100.0 )
{ {
...@@ -250,7 +248,6 @@ ...@@ -250,7 +248,6 @@
return; return;
} }
} }
}
} }
-(void)hideDialog -(void)hideDialog
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment