Changeset 1e8bbf19b3bb93076119a75fcfae5f6db7cbbfec

Show
Ignore:
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
  • NEWS

    r63e066369 r1e8bbf1  
    122122 * Audio playback when going slower/faster (no pitch filter yet) 
    123123 * New spatializer audio filter 
     124 * Correct DTS output via S/PDIF 
    124125 
    125126Stream output: 
     
    146147   * Improved video output features 
    147148   * Access to VideoLAN's Help Wiki within VLC 
     149   * New setting to disable the "Recent Items" service 
    148150 * Unix 
    149151   * Option to allow only one running instance, using D-Bus interface. 
  • modules/gui/macosx/macosx.m

    rf339d3e r1e8bbf1  
    4949 *****************************************************************************/ 
    5050#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.") 
    5352 
    5453#define VDEV_TEXT N_("Video device") 
    5554#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.") 
    5857 
    5958#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 
    6462#define STRETCH_TEXT N_("Stretch video to fill window") 
    6563#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.") 
    6866 
    6967#define BLACK_TEXT N_("Black screens in fullscreen") 
    7068#define BLACK_LONGTEXT N_("In fullscreen mode, keep screen where there is no " \ 
    71         "video displayed black" ) 
     69                          "video displayed black" ) 
    7270 
    7371#define BACKGROUND_TEXT N_("Use as Desktop Background") 
    7472#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." ) 
    7674 
    7775#define FSPANEL_TEXT N_("Show Fullscreen controller") 
     
    8179#define AUTOPLAY_OSX_TEST N_("Auto-playback of new items") 
    8280#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.") 
    8486 
    8587vlc_module_begin(); 
     
    9092    set_subcategory( SUBCAT_INTERFACE_MAIN ); 
    9193    add_bool( "macosx-embedded", 1, NULL, EMBEDDED_TEXT, EMBEDDED_LONGTEXT, 
    92                      VLC_FALSE ); 
     94              VLC_FALSE ); 
    9395    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 ); 
    9599    add_bool( "macosx-fspanel", 1, NULL, FSPANEL_TEXT, FSPANEL_LONGTEXT, 
    96                      VLC_FALSE ); 
     100              VLC_FALSE ); 
    97101 
    98102    add_submodule(); 
     
    106110                     VLC_FALSE ); 
    107111        add_bool( "macosx-stretch", 0, NULL, STRETCH_TEXT, STRETCH_LONGTEXT, 
    108                      VLC_FALSE ); 
     112                  VLC_FALSE ); 
    109113        add_float_with_range( "macosx-opaqueness", 1, 0, 1, NULL, 
    110                 OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_TRUE ); 
     114                              OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_TRUE ); 
    111115        add_bool( "macosx-black", 1, NULL, BLACK_TEXT, BLACK_LONGTEXT, 
    112116                  VLC_FALSE ); 
    113117        add_bool( "macosx-background", 0, NULL, BACKGROUND_TEXT, BACKGROUND_LONGTEXT, 
    114                      VLC_FALSE ); 
     118                  VLC_FALSE ); 
    115119    add_submodule(); 
    116120        set_description( "Mac OS X OpenGL" ); 
  • modules/gui/macosx/playlist.m

    r37381b6 r1e8bbf1  
    995995    /* Recent documents menu */ 
    996996    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
    998998    { 
    999999        [[NSDocumentController sharedDocumentController]