changeset 34329:d7c8a3cee15e

Replace evPlayNetwork by evLoadURL. Use same event messages for uiEventHandling() and gtkShow() where possible.
author ib
date Fri, 09 Dec 2011 12:25:48 +0000
parents 6cfca461669c
children 2b5392b2076d
files gui/app.h gui/ui/main.c gui/ui/widgets.c gui/win32/skinload.h
diffstat 4 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/app.h	Fri Dec 09 12:11:03 2011 +0000
+++ b/gui/app.h	Fri Dec 09 12:25:48 2011 +0000
@@ -73,7 +73,6 @@
 
 // Internal events
 
-#define evPlayNetwork       41
 #define evSetAudio          45
 #define evSetVideo          46
 #define evSetSubtitle       47
--- a/gui/ui/main.c	Fri Dec 09 12:11:03 2011 +0000
+++ b/gui/ui/main.c	Fri Dec 09 12:25:48 2011 +0000
@@ -145,7 +145,7 @@
         break;
 
    case evLoadURL:
-        gtkShow( evPlayNetwork,NULL );
+        gtkShow( evLoadURL,NULL );
 	break;
 
    case evSetAudio:
--- a/gui/ui/widgets.c	Fri Dec 09 12:11:03 2011 +0000
+++ b/gui/ui/widgets.c	Fri Dec 09 12:25:48 2011 +0000
@@ -308,7 +308,7 @@
 
         break;
 
-    case evPlayNetwork:
+    case evLoadURL:
         ShowURLDialogBox();
         gtkSetLayer(URL);
         break;
--- a/gui/win32/skinload.h	Fri Dec 09 12:11:03 2011 +0000
+++ b/gui/win32/skinload.h	Fri Dec 09 12:25:48 2011 +0000
@@ -180,7 +180,6 @@
 
 // --- Internal events ---
 
-#define evPlayNetwork       41
 #define evSetAudio          45
 #define evSetVideo          46
 #define evPlayCD            48