]> git.sesse.net Git - vlc/commitdiff
* modules/gui/skins/src/vlcproc.cpp: the "play" action will trigger the open dialog...
authorGildas Bazin <gbazin@videolan.org>
Mon, 9 Jun 2003 06:52:07 +0000 (06:52 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 9 Jun 2003 06:52:07 +0000 (06:52 +0000)
modules/gui/skins/src/vlcproc.cpp

index fa0c10c02009dab4d227f6b03c2c0c233f563d8e..66ea09c5dde007b2ae23dc3732efa1ccbb1786d9 100644 (file)
@@ -2,7 +2,7 @@
  * vlcproc.cpp: VlcProc class
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: vlcproc.cpp,v 1.31 2003/06/04 16:44:39 gbazin Exp $
+ * $Id: vlcproc.cpp,v 1.32 2003/06/09 06:52:07 gbazin Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -418,8 +418,13 @@ void VlcProc::PlayStream()
 {
     if( p_intf->p_sys->p_playlist == NULL )
         return;
+
     if( !p_intf->p_sys->p_playlist->i_size )
+    {
+        p_intf->p_sys->p_dialogs->ShowOpen( true );
+        InterfaceRefresh();
         return;
+    }
 
     playlist_Play( p_intf->p_sys->p_playlist );