[MPlayer-cvslog] r35864 - in trunk/gui: dialog/fileselect.c ui/main.c ui/ui.h

ib subversion at mplayerhq.hu
Thu Jan 24 22:52:14 CET 2013


Author: ib
Date: Thu Jan 24 22:52:14 2013
New Revision: 35864

Log:
Cosmetic: Rename uiMainAutoPlay uiLoadPlay.

Modified:
   trunk/gui/dialog/fileselect.c
   trunk/gui/ui/main.c
   trunk/gui/ui/ui.h

Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c	Thu Jan 24 22:37:57 2013	(r35863)
+++ trunk/gui/dialog/fileselect.c	Thu Jan 24 22:52:14 2013	(r35864)
@@ -541,7 +541,7 @@ static void fs_Ok_released( GtkButton * 
    item=item->next;
   }
  if ( i ) fsTopList_items=g_list_prepend( fsTopList_items,(gchar *)get_current_dir_name_utf8() );
- if ( uiMainAutoPlay ) { uiMainAutoPlay=False; uiMainEvent( evPlay,0 ); }
+ if ( uiLoadPlay ) { uiLoadPlay=False; uiMainEvent( evPlay,0 ); }
   else gui( GUI_SET_STATE,(void *) GUI_STOP );
 }
 

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Thu Jan 24 22:37:57 2013	(r35863)
+++ trunk/gui/ui/main.c	Thu Jan 24 22:52:14 2013	(r35864)
@@ -68,7 +68,7 @@ unsigned int GetTimerMS( void );
 unsigned char * mainDrawBuffer = NULL;
 static int      uiMainRender = True;
 
-int             uiMainAutoPlay = False;
+int             uiLoadPlay = False;
 
 int             mainVisible = True;
 
@@ -255,7 +255,7 @@ NoPause:
 	break;
 
    case evLoadPlay:
-        uiMainAutoPlay=True;
+        uiLoadPlay=True;
 //	guiInfo.StreamType=STREAMTYPE_FILE;
    case evLoad:
         gtkShow( evLoad,NULL );

Modified: trunk/gui/ui/ui.h
==============================================================================
--- trunk/gui/ui/ui.h	Thu Jan 24 22:37:57 2013	(r35863)
+++ trunk/gui/ui/ui.h	Thu Jan 24 22:52:14 2013	(r35864)
@@ -23,7 +23,7 @@ extern unsigned char * mainDrawBuffer;
 extern unsigned char * menuDrawBuffer;
 extern int             mainVisible;
 
-extern int             uiMainAutoPlay;
+extern int             uiLoadPlay;
 extern int             uiPlaybarFade;
 
 extern int             sx, sy;


More information about the MPlayer-cvslog mailing list