* intf_gtk.c: Gtk+ interface
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: intf_gtk.c,v 1.26 2001/10/04 00:50:24 sam Exp $
+ * $Id: intf_gtk.c,v 1.27 2001/11/16 00:29:52 stef Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stéphane Borel <stef@via.ecp.fr>
}
/* Initialize Gtk+ thread */
+ p_intf->p_sys->b_playing = 1;
p_intf->p_sys->b_popup_changed = 0;
p_intf->p_sys->b_window_changed = 0;
p_intf->p_sys->b_playlist_changed = 0;
{
GtkModeManage( p_intf );
GtkSetupMenus( p_intf );
+ p_intf->p_sys->b_playing = 1;
}
/* Manage the slider */
vlc_mutex_unlock( &p_intf->p_input->stream.stream_lock );
}
- else if( !p_intf->b_die )
+ else if( p_intf->p_sys->b_playing && !p_intf->b_die )
{
GtkModeManage( p_intf );
+ p_intf->p_sys->b_playing = 0;
}
/* Manage core vlc functions through the callback */