changeset 35770:36f87d7432c7

Cosmetic: Rename uiMainAutoPlay uiLoadPlay.
author ib
date Thu, 24 Jan 2013 21:52:14 +0000
parents f69df13687ae
children 07057fd75c51
files gui/dialog/fileselect.c gui/ui/main.c gui/ui/ui.h
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.c	Thu Jan 24 21:37:57 2013 +0000
+++ b/gui/dialog/fileselect.c	Thu Jan 24 21:52:14 2013 +0000
@@ -541,7 +541,7 @@
    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 );
 }
 
--- a/gui/ui/main.c	Thu Jan 24 21:37:57 2013 +0000
+++ b/gui/ui/main.c	Thu Jan 24 21:52:14 2013 +0000
@@ -68,7 +68,7 @@
 unsigned char * mainDrawBuffer = NULL;
 static int      uiMainRender = True;
 
-int             uiMainAutoPlay = False;
+int             uiLoadPlay = False;
 
 int             mainVisible = True;
 
@@ -255,7 +255,7 @@
 	break;
 
    case evLoadPlay:
-        uiMainAutoPlay=True;
+        uiLoadPlay=True;
 //	guiInfo.StreamType=STREAMTYPE_FILE;
    case evLoad:
         gtkShow( evLoad,NULL );
--- a/gui/ui/ui.h	Thu Jan 24 21:37:57 2013 +0000
+++ b/gui/ui/ui.h	Thu Jan 24 21:52:14 2013 +0000
@@ -23,7 +23,7 @@
 extern unsigned char * menuDrawBuffer;
 extern int             mainVisible;
 
-extern int             uiMainAutoPlay;
+extern int             uiLoadPlay;
 extern int             uiPlaybarFade;
 
 extern int             sx, sy;