prev->setStatusText( i18n( "Prev" ) );
next->setStatusText( i18n( "Next" ) );
// use the absolute path to your ktestui.rc file for testing purpose in createGUI();
- char *uifile = config_GetPsz( p_intf, "kdeuirc" );
- createGUI( uifile );
+ char *psz_uifile = config_GetPsz( p_intf, "kde-uirc" );
+ createGUI( psz_uifile );
// createGUI( "./modules/gui/kde/ui.rc" );
}
if( p_playlist )
{
fileOpenRecent->addURL( url );
- playlist_Add( p_playlist, url.path(),
+ playlist_Add( p_playlist, url.path(), 0, 0,
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );
vlc_object_release( p_playlist );
}
{
p_intf->p_sys->p_input = (input_thread_t *)
vlc_object_find( p_intf, VLC_OBJECT_INPUT, FIND_ANYWHERE );
+ if ( p_intf->p_sys->p_input )
+ {
+ languages->setEnabled( true );
+ subtitles->setEnabled( true );
+ info->setEnabled( true );
+ }
+
}
else if( p_intf->p_sys->p_input->b_dead )
{
{
if( p_intf->p_sys->p_input != NULL )
{
- char psz_time[ OFFSETTOTIME_MAX_SIZE ];
+ char psz_time[ MSTRTIME_MAX_SIZE ];
vlc_mutex_lock( &p_intf->p_sys->p_input->stream.stream_lock );
if( p_playlist )
{
// add it to playlist
- playlist_Add( p_playlist, source.latin1(),
+ playlist_Add( p_playlist, source.latin1(), 0, 0,
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );
vlc_object_release( p_playlist );
}
if( p_playlist )
{
// add it to playlist
- playlist_Add( p_playlist, source.latin1(),
+ playlist_Add( p_playlist, source.latin1(), 0, 0,
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );
vlc_object_release( p_playlist );
}
if( !(*i).isEmpty() )
{
fileOpenRecent->addURL( *i );
- playlist_Add( p_playlist, (*i).path(),
+ playlist_Add( p_playlist, (*i).path(), 0, 0,
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );
}
}