Changeset 5d09f6000a0b589d63e1fc9c6af4e5b055658203
- Timestamp:
- 01/08/06 00:51:43
(2 years ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1154386303 +0000
- git-parent:
[52679672fc97ad174da8673a26e09ad78c2adb36]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1154386303 +0000
- Message:
* interaction.c: always show errors through the interaction framework, even if the user disabled its usage
* macosx/*: minor clean-up
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd57320b |
r5d09f60 |
|
| 93 | 93 | } |
|---|
| 94 | 94 | - (IBAction)cleanupTable:(id)sender; |
|---|
| | 95 | - (IBAction)showMessages:(id)sender; |
|---|
| 95 | 96 | |
|---|
| 96 | 97 | -(void)showPanel; |
|---|
| rd57320b |
r5d09f60 |
|
| 1310 | 1310 | { |
|---|
| 1311 | 1311 | int i_start, i_stop; |
|---|
| 1312 | | vlc_value_t quiet; |
|---|
| 1313 | 1312 | |
|---|
| 1314 | 1313 | vlc_mutex_lock( p_intf->p_sys->p_sub->p_lock ); |
|---|
| … | … | |
| 1364 | 1363 | |
|---|
| 1365 | 1364 | [o_msg_lock unlock]; |
|---|
| 1366 | | |
|---|
| 1367 | | var_Get( p_intf->p_vlc, "verbose", &quiet ); |
|---|
| 1368 | 1365 | } |
|---|
| 1369 | 1366 | |
|---|
| r0a9dbda |
r5d09f60 |
|
| 76 | 76 | if( p_this->i_flags & OBJECT_FLAGS_NOINTERACT ) return VLC_EGENERIC; |
|---|
| 77 | 77 | |
|---|
| 78 | | if( !config_GetInt(p_this, "interact") ) return VLC_EGENERIC; |
|---|
| 79 | | |
|---|
| 80 | | p_dialog->p_interaction = p_interaction; |
|---|
| 81 | | p_dialog->p_parent = p_this; |
|---|
| 82 | | |
|---|
| 83 | | if( p_dialog->i_type == INTERACT_DIALOG_TWOWAY ) |
|---|
| 84 | | { |
|---|
| 85 | | return intf_WaitAnswer( p_interaction, p_dialog ); |
|---|
| | 78 | if( config_GetInt(p_this, "interact") || |
|---|
| | 79 | p_dialog->i_flags & DIALOG_BLOCKING_ERROR || |
|---|
| | 80 | p_dialog->i_flags & DIALOG_NONBLOCKING_ERROR ) |
|---|
| | 81 | { |
|---|
| | 82 | p_dialog->p_interaction = p_interaction; |
|---|
| | 83 | p_dialog->p_parent = p_this; |
|---|
| | 84 | |
|---|
| | 85 | if( p_dialog->i_type == INTERACT_DIALOG_TWOWAY ) |
|---|
| | 86 | { |
|---|
| | 87 | return intf_WaitAnswer( p_interaction, p_dialog ); |
|---|
| | 88 | } |
|---|
| | 89 | else |
|---|
| | 90 | { |
|---|
| | 91 | p_dialog->i_flags |= DIALOG_GOT_ANSWER; |
|---|
| | 92 | return intf_Send( p_interaction, p_dialog ); |
|---|
| | 93 | } |
|---|
| 86 | 94 | } |
|---|
| 87 | 95 | else |
|---|
| 88 | | { |
|---|
| 89 | | p_dialog->i_flags |= DIALOG_GOT_ANSWER; |
|---|
| 90 | | return intf_Send( p_interaction, p_dialog ); |
|---|
| 91 | | } |
|---|
| | 96 | return VLC_EGENERIC; |
|---|
| 92 | 97 | } |
|---|
| 93 | 98 | |
|---|
| … | … | |
| 254 | 259 | |
|---|
| 255 | 260 | p_new->psz_title = strdup( psz_title ); |
|---|
| | 261 | p_new->i_type = INTERACT_DIALOG_ONEWAY; |
|---|
| 256 | 262 | |
|---|
| 257 | 263 | va_start( args, psz_format ); |
|---|
| … | … | |
| 282 | 288 | |
|---|
| 283 | 289 | p_new->psz_title = strdup( psz_title ); |
|---|
| | 290 | p_new->i_type = INTERACT_DIALOG_ONEWAY; |
|---|
| 284 | 291 | |
|---|
| 285 | 292 | va_start( args, psz_format ); |
|---|