Changeset 9a1ab88d0c49d407b5bfdcf9dfe31f796ae34143

Show
Ignore:
Timestamp:
04/06/07 17:20:18 (1 year ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1175872818 +0000
git-parent:

[de3efb7480be9ded8b74af9961bd5987c8dc3f98]

git-author:
Rafaël Carré <funman@videolan.org> 1175872818 +0000
Message:

Automatically loads dbus control interface in one-instance mode
Adds one instance in NEWS

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • NEWS

    r21bd97f r9a1ab88  
    7070 * All 
    7171   * Improved user interaction 
     72 * Unix 
     73   * Allow only one running instance, using D-Bus interface (experimental). 
    7274 
    7375 
  • src/libvlc-common.c

    r446ff43 r9a1ab88  
    859859     */ 
    860860    VLC_AddIntf( 0, "hotkeys,none", VLC_FALSE, VLC_FALSE ); 
     861 
     862    /* loads dbus control interface if in one-instance mode 
     863     * we do it only when playlist exists, because dbus module needs it */ 
     864    if( config_GetInt( p_libvlc, "one-instance" ) ) 
     865        VLC_AddIntf( 0, "dbus,none", VLC_FALSE, VLC_FALSE ); 
    861866 
    862867    /*