diff Plugins/Input/modplug/gui/main.cpp @ 864:9d393eabf984 trunk

[svn] now modplug uses xmms_show_message for its aboutbox
author giacomo
date Fri, 24 Mar 2006 07:02:57 -0800
parents 37316876ef6e
children 5ef13028e42d
line wrap: on
line diff
--- a/Plugins/Input/modplug/gui/main.cpp	Thu Mar 23 17:24:41 2006 -0800
+++ b/Plugins/Input/modplug/gui/main.cpp	Fri Mar 24 07:02:57 2006 -0800
@@ -9,6 +9,7 @@
 
 #include <gtk/gtk.h>
 #include <libintl.h>
+#include "libaudacious/util.c"
 
 #include "interface.h"
 #include "support.h"
@@ -38,7 +39,14 @@
 void ShowAboutWindow()
 {
 	if(!AboutWin)
-		AboutWin = create_About();
+	{
+		gchar * about_text = g_strjoin( "" , _("Modplug Input Plugin for Audacious ver") ,
+				VERSION , _("\nModplug sound engine written by Olivier Lapicque.\nXMMS interface for Modplug by Kenton Varda.\n(c)2000 Olivier Lapicque and Kenton Varda.\nUpdates and Maintainance by Konstanty Bialkowski.\nPorted to BMP by Theofilos Intzoglou.") , NULL );
+		AboutWin = xmms_show_message( _("About Modplug") , about_text , _("Ok") , FALSE , NULL , NULL );
+		gtk_signal_connect( GTK_OBJECT(AboutWin) , "destroy" ,
+			GTK_SIGNAL_FUNC(gtk_widget_destroyed), &AboutWin);
+		g_free( about_text );
+	}
 	gtk_widget_show(AboutWin);
 }