changeset 16122:67e2129e0e6b

gmplayer + arts == bad!
author reimar
date Thu, 28 Jul 2005 09:43:02 +0000
parents cf0c9afda05c
children 42fb886c1dc2
files Gui/mplayer/gtk/opts.c help/help_mp-en.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c	Thu Jul 28 09:32:45 2005 +0000
+++ b/Gui/mplayer/gtk/opts.c	Thu Jul 28 09:43:02 2005 +0000
@@ -736,6 +736,8 @@
 	     !strncmp( ao_driver[0],"esd",3 ) ||
 	     !strncmp( ao_driver[0],"sdl",3 ) )
 	  gtk_widget_set_sensitive( AConfig,TRUE );
+        if ( !strncmp( ao_driver[0],"arts",4 ) )
+          gtkMessageBox(GTK_MB_WARNING|GTK_MB_SIMPLE, MSGTR_PREFERENCES_ArtsBroken);
 	break;
    case 1: // video driver 
 	gtk_clist_get_text( GTK_CLIST( CLVDrivers ),row,0,(char **)&vo_driver ); 
--- a/help/help_mp-en.h	Thu Jul 28 09:32:45 2005 +0000
+++ b/help/help_mp-en.h	Thu Jul 28 09:43:02 2005 +0000
@@ -843,6 +843,8 @@
 #define MSGTR_PREFERENCES_DVDDevice "DVD device:"
 #define MSGTR_PREFERENCES_FPS "Movie FPS:"
 #define MSGTR_PREFERENCES_ShowVideoWindow "Show video window when inactive"
+#define MSGTR_PREFERENCES_ArtsBroken "Newer aRts versions are incompatible "\
+           "with GTK 1.x and will crash gmplayer!"
 
 #define MSGTR_ABOUT_UHU "GUI development sponsored by UHU Linux\n"
 #define MSGTR_ABOUT_CoreTeam "   MPlayer core team:\n"