# HG changeset patch # User ib # Date 1364172372 0 # Node ID 3ebf8c880e078a3c5d086710bc553d88faaefcc4 # Parent db72a3183d41c6951d38c57a5e85f68519e4e5d2 Don't set path information for fsVideoSelector on ShowFileSelect(). This avoids adding the path of the first playlist item to the history. The path of a selected file has already been added to the history on file selection, so this information won't get lost. diff -r db72a3183d41 -r 3ebf8c880e07 gui/dialog/fileselect.c --- a/gui/dialog/fileselect.c Mon Mar 25 00:45:32 2013 +0000 +++ b/gui/dialog/fileselect.c Mon Mar 25 00:46:12 2013 +0000 @@ -666,7 +666,7 @@ gtk_combo_set_popdown_strings( GTK_COMBO( List ),fsList_items ); g_list_free( fsList_items ); gtk_entry_set_text( GTK_ENTRY( fsFilterCombo ),fsVideoFilterNames[k >= 0 ? k : i-2][0] ); - tmp=guiInfo.Filename; + //tmp=guiInfo.Filename; break; case fsSubtitleSelector: gtk_window_set_title( GTK_WINDOW( fsFileSelect ),MSGTR_SubtitleSelect ); @@ -715,8 +715,6 @@ fsMedium=(fsType == fsVideoSelector || fsType == fsSubtitleSelector || fsType == fsAudioSelector); - if ( !tmp && fsMedium ) tmp=guiInfo.Filename; - if ( tmp && tmp[0] && !strstr( tmp,"://" ) ) { dir = strdup( tmp );