[MPlayer-cvslog] r35927 - trunk/gui/dialog/fileselect.c

ib subversion at mplayerhq.hu
Thu Feb 28 12:19:59 CET 2013


Author: ib
Date: Thu Feb 28 12:19:59 2013
New Revision: 35927

Log:
Keep GUI history untouched upon file select "Cancel".

Currently, when "Cancel" is selected in the file select menu, the
GUI history can be modified nevertheless. Presuming that "Cancel"
shall discard changes, the history should be kept unchanged, too.

Patch by Hans-Dieter Kosch, hdkosch kabelbw de.

Modified:
   trunk/gui/dialog/fileselect.c

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Thu Feb 28 12:18:20 2013	(r35926)
+++ trunk/gui/dialog/fileselect.c	Thu Feb 28 12:19:59 2013	(r35927)
@@ -548,7 +548,6 @@ static void fs_Ok_released( GtkButton * 
 static void fs_Cancel_released( GtkButton * button,gpointer user_data )
 {
  HideFileSelect();
- fs_PersistantHistory( get_current_dir_name_utf8() );      //totem, write into history file
 }
 
 static void fs_fsFNameList_select_row( GtkCList * clist, gint row, gint column,


More information about the MPlayer-cvslog mailing list