changeset 6905:e32d3d0d8998

- fix playlist2dvd bug - change playlist selection mode
author pontscho
date Sun, 04 Aug 2002 20:44:21 +0000
parents 2ef35e71ad78
children 3274d0725fde
files Gui/mplayer/gtk/pl.c Gui/mplayer/mw.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/pl.c	Sun Aug 04 20:33:19 2002 +0000
+++ b/Gui/mplayer/gtk/pl.c	Sun Aug 04 20:44:21 2002 +0000
@@ -548,7 +548,7 @@
   gtk_widget_show( CLFiles );
   gtk_container_add( GTK_CONTAINER( scrolledwindow2 ),CLFiles );
   gtk_clist_set_column_width( GTK_CLIST( CLFiles ),0,80 );
-  gtk_clist_set_selection_mode( GTK_CLIST( CLFiles ),GTK_SELECTION_MULTIPLE );
+  gtk_clist_set_selection_mode( GTK_CLIST( CLFiles ),GTK_SELECTION_EXTENDED );
   gtk_clist_column_titles_show( GTK_CLIST( CLFiles ) );
   gtk_clist_set_shadow_type( GTK_CLIST( CLFiles ),GTK_SHADOW_NONE );
 
--- a/Gui/mplayer/mw.h	Sun Aug 04 20:33:19 2002 +0000
+++ b/Gui/mplayer/mw.h	Sun Aug 04 20:44:21 2002 +0000
@@ -268,7 +268,7 @@
 	vcd_track=0;
 	dvd_title=0;
 
-	if ( gtkSet( gtkGetCurrPlItem,0,NULL ) )
+	if ( gtkSet( gtkGetCurrPlItem,0,NULL ) &&( guiIntfStruct.StreamType == STREAMTYPE_FILE ) )
 	 {
 	  plItem * next = gtkSet( gtkGetCurrPlItem,0,NULL );
 	  plLastPlayed=next;