changeset 867:86e8224baa0e trunk

[svn] fixed multiple spawns of flac aboutbox
author giacomo
date Fri, 24 Mar 2006 08:00:06 -0800
parents 419fea14270c
children 29132467a450
files Plugins/Input/flac/configure.c
diffstat 1 files changed, 16 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/flac/configure.c	Fri Mar 24 07:54:14 2006 -0800
+++ b/Plugins/Input/flac/configure.c	Fri Mar 24 08:00:06 2006 -0800
@@ -790,20 +790,22 @@
 
 	if (about_window)
 		gdk_window_raise(about_window->window);
-
-	about_window = xmms_show_message(
-		_("About Flac Plugin"),
-		_("Flac Plugin by Josh Coalson\n"
-		  "contributions by\n"
-		  "......\n"
-		  "......\n"
-		  "and\n"
-		  "Daisuke Shimamura\n"
-		  "Visit http://flac.sourceforge.net/"),
-		_("Ok"), FALSE, NULL, NULL);
-	gtk_signal_connect(GTK_OBJECT(about_window), "destroy",
-			   GTK_SIGNAL_FUNC(gtk_widget_destroyed),
-			   &about_window);
+	else
+	{
+		about_window = xmms_show_message(
+			_("About Flac Plugin"),
+			_("Flac Plugin by Josh Coalson\n"
+			  "contributions by\n"
+			  "......\n"
+			  "......\n"
+			  "and\n"
+			  "Daisuke Shimamura\n"
+			  "Visit http://flac.sourceforge.net/"),
+			_("Ok"), FALSE, NULL, NULL);
+		gtk_signal_connect(GTK_OBJECT(about_window), "destroy",
+				   GTK_SIGNAL_FUNC(gtk_widget_destroyed),
+				   &about_window);
+	}
 }
 
 /*