Changeset 1e8bbf19b3bb93076119a75fcfae5f6db7cbbfec
- Timestamp:
- 12/31/07 15:08:05
(7 months ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1199110085 +0000
- git-parent:
[32cdbfa32d03e0022874e3da3d6caa02ca9894b8]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1199110085 +0000
- Message:
macosx: added an option to disable the 'Recent Items' list as requested by multiple forum users (closes #1340)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r63e066369 |
r1e8bbf1 |
|
| 122 | 122 | * Audio playback when going slower/faster (no pitch filter yet) |
|---|
| 123 | 123 | * New spatializer audio filter |
|---|
| | 124 | * Correct DTS output via S/PDIF |
|---|
| 124 | 125 | |
|---|
| 125 | 126 | Stream output: |
|---|
| … | … | |
| 146 | 147 | * Improved video output features |
|---|
| 147 | 148 | * Access to VideoLAN's Help Wiki within VLC |
|---|
| | 149 | * New setting to disable the "Recent Items" service |
|---|
| 148 | 150 | * Unix |
|---|
| 149 | 151 | * Option to allow only one running instance, using D-Bus interface. |
|---|
| rf339d3e |
r1e8bbf1 |
|
| 49 | 49 | *****************************************************************************/ |
|---|
| 50 | 50 | #define EMBEDDED_TEXT N_("Embedded video output") |
|---|
| 51 | | #define EMBEDDED_LONGTEXT N_( \ |
|---|
| 52 | | "Display the video in the controller window instead of a in separate window.") |
|---|
| | 51 | #define EMBEDDED_LONGTEXT N_( "Display the video in the controller window instead of a in separate window.") |
|---|
| 53 | 52 | |
|---|
| 54 | 53 | #define VDEV_TEXT N_("Video device") |
|---|
| 55 | 54 | #define VDEV_LONGTEXT N_("Number of the screen to use by default to display " \ |
|---|
| 56 | | "videos in 'fullscreen'. The screen number correspondance can be found in "\ |
|---|
| 57 | | "the video device selection menu.") |
|---|
| | 55 | "videos in 'fullscreen'. The screen number correspondance can be found in "\ |
|---|
| | 56 | "the video device selection menu.") |
|---|
| 58 | 57 | |
|---|
| 59 | 58 | #define OPAQUENESS_TEXT N_("Opaqueness") |
|---|
| 60 | | #define OPAQUENESS_LONGTEXT N_( \ |
|---|
| 61 | | "Set the transparency of the video output. 1 is non-transparent (default) " \ |
|---|
| 62 | | "0 is fully transparent.") |
|---|
| 63 | | |
|---|
| | 59 | #define OPAQUENESS_LONGTEXT N_( "Set the transparency of the video output. 1 is non-transparent (default) " \ |
|---|
| | 60 | "0 is fully transparent.") |
|---|
| | 61 | |
|---|
| 64 | 62 | #define STRETCH_TEXT N_("Stretch video to fill window") |
|---|
| 65 | 63 | #define STRETCH_LONGTEXT N_("Stretch the video to fill the entire window when "\ |
|---|
| 66 | | "resizing the video instead of keeping the aspect ratio and "\ |
|---|
| 67 | | "displaying black borders.") |
|---|
| | 64 | "resizing the video instead of keeping the aspect ratio and "\ |
|---|
| | 65 | "displaying black borders.") |
|---|
| 68 | 66 | |
|---|
| 69 | 67 | #define BLACK_TEXT N_("Black screens in fullscreen") |
|---|
| 70 | 68 | #define BLACK_LONGTEXT N_("In fullscreen mode, keep screen where there is no " \ |
|---|
| 71 | | "video displayed black" ) |
|---|
| | 69 | "video displayed black" ) |
|---|
| 72 | 70 | |
|---|
| 73 | 71 | #define BACKGROUND_TEXT N_("Use as Desktop Background") |
|---|
| 74 | 72 | #define BACKGROUND_LONGTEXT N_("Use the video as the Desktop Background " \ |
|---|
| 75 | | "Desktop icons cannot be interacted with in this mode." ) |
|---|
| | 73 | "Desktop icons cannot be interacted with in this mode." ) |
|---|
| 76 | 74 | |
|---|
| 77 | 75 | #define FSPANEL_TEXT N_("Show Fullscreen controller") |
|---|
| … | … | |
| 81 | 79 | #define AUTOPLAY_OSX_TEST N_("Auto-playback of new items") |
|---|
| 82 | 80 | #define AUTOPLAY_OSX_LONGTEXT N_("Start playback of new items immediately " \ |
|---|
| 83 | | "once they were added." ) |
|---|
| | 81 | "once they were added." ) |
|---|
| | 82 | |
|---|
| | 83 | #define RECENT_ITEMS_TEXT N_("Keep Recent Items") |
|---|
| | 84 | #define RECENT_ITEMS_LONGTEXT N_("By default, VLC keeps a list of the last 10 items. " \ |
|---|
| | 85 | "This feature can be disabled here.") |
|---|
| 84 | 86 | |
|---|
| 85 | 87 | vlc_module_begin(); |
|---|
| … | … | |
| 90 | 92 | set_subcategory( SUBCAT_INTERFACE_MAIN ); |
|---|
| 91 | 93 | add_bool( "macosx-embedded", 1, NULL, EMBEDDED_TEXT, EMBEDDED_LONGTEXT, |
|---|
| 92 | | VLC_FALSE ); |
|---|
| | 94 | VLC_FALSE ); |
|---|
| 93 | 95 | add_bool( "macosx-autoplay", 1, NULL, AUTOPLAY_OSX_TEST, AUTOPLAY_OSX_LONGTEXT, |
|---|
| 94 | | VLC_FALSE ); |
|---|
| | 96 | VLC_FALSE ); |
|---|
| | 97 | add_bool( "macosx-recentitems", 1, NULL, RECENT_ITEMS_TEXT, RECENT_ITEMS_LONGTEXT, |
|---|
| | 98 | VLC_FALSE ); |
|---|
| 95 | 99 | add_bool( "macosx-fspanel", 1, NULL, FSPANEL_TEXT, FSPANEL_LONGTEXT, |
|---|
| 96 | | VLC_FALSE ); |
|---|
| | 100 | VLC_FALSE ); |
|---|
| 97 | 101 | |
|---|
| 98 | 102 | add_submodule(); |
|---|
| … | … | |
| 106 | 110 | VLC_FALSE ); |
|---|
| 107 | 111 | add_bool( "macosx-stretch", 0, NULL, STRETCH_TEXT, STRETCH_LONGTEXT, |
|---|
| 108 | | VLC_FALSE ); |
|---|
| | 112 | VLC_FALSE ); |
|---|
| 109 | 113 | add_float_with_range( "macosx-opaqueness", 1, 0, 1, NULL, |
|---|
| 110 | | OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_TRUE ); |
|---|
| | 114 | OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_TRUE ); |
|---|
| 111 | 115 | add_bool( "macosx-black", 1, NULL, BLACK_TEXT, BLACK_LONGTEXT, |
|---|
| 112 | 116 | VLC_FALSE ); |
|---|
| 113 | 117 | add_bool( "macosx-background", 0, NULL, BACKGROUND_TEXT, BACKGROUND_LONGTEXT, |
|---|
| 114 | | VLC_FALSE ); |
|---|
| | 118 | VLC_FALSE ); |
|---|
| 115 | 119 | add_submodule(); |
|---|
| 116 | 120 | set_description( "Mac OS X OpenGL" ); |
|---|
| r37381b6 |
r1e8bbf1 |
|
| 995 | 995 | /* Recent documents menu */ |
|---|
| 996 | 996 | o_true_file = [NSURL fileURLWithPath: o_uri]; |
|---|
| 997 | | if( o_true_file != nil ) |
|---|
| | 997 | if( o_true_file != nil && (BOOL)config_GetInt( p_playlist, "macosx-recentitems" ) == YES ) |
|---|
| 998 | 998 | { |
|---|
| 999 | 999 | [[NSDocumentController sharedDocumentController] |
|---|