[MPlayer-cvslog] r34417 - in trunk/gui: app.h ui/main.c ui/widgets.c win32/skinload.h

ib subversion at mplayerhq.hu
Fri Dec 9 13:25:49 CET 2011


Author: ib
Date: Fri Dec  9 13:25:48 2011
New Revision: 34417

Log:
Replace evPlayNetwork by evLoadURL.

Use same event messages for uiEventHandling() and gtkShow()
where possible.

Modified:
   trunk/gui/app.h
   trunk/gui/ui/main.c
   trunk/gui/ui/widgets.c
   trunk/gui/win32/skinload.h

Modified: trunk/gui/app.h
==============================================================================
--- trunk/gui/app.h	Fri Dec  9 13:11:03 2011	(r34416)
+++ trunk/gui/app.h	Fri Dec  9 13:25:48 2011	(r34417)
@@ -73,7 +73,6 @@
 
 // Internal events
 
-#define evPlayNetwork       41
 #define evSetAudio          45
 #define evSetVideo          46
 #define evSetSubtitle       47

Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c	Fri Dec  9 13:11:03 2011	(r34416)
+++ trunk/gui/ui/main.c	Fri Dec  9 13:25:48 2011	(r34417)
@@ -145,7 +145,7 @@ void uiEventHandling( int msg,float para
         break;
 
    case evLoadURL:
-        gtkShow( evPlayNetwork,NULL );
+        gtkShow( evLoadURL,NULL );
 	break;
 
    case evSetAudio:

Modified: trunk/gui/ui/widgets.c
==============================================================================
--- trunk/gui/ui/widgets.c	Fri Dec  9 13:11:03 2011	(r34416)
+++ trunk/gui/ui/widgets.c	Fri Dec  9 13:25:48 2011	(r34417)
@@ -308,7 +308,7 @@ void gtkShow(int type, char *param)
 
         break;
 
-    case evPlayNetwork:
+    case evLoadURL:
         ShowURLDialogBox();
         gtkSetLayer(URL);
         break;

Modified: trunk/gui/win32/skinload.h
==============================================================================
--- trunk/gui/win32/skinload.h	Fri Dec  9 13:11:03 2011	(r34416)
+++ trunk/gui/win32/skinload.h	Fri Dec  9 13:25:48 2011	(r34417)
@@ -180,7 +180,6 @@ skin_t *loadskin(char *skindir, int desk
 
 // --- Internal events ---
 
-#define evPlayNetwork       41
 #define evSetAudio          45
 #define evSetVideo          46
 #define evPlayCD            48


More information about the MPlayer-cvslog mailing list