# HG changeset patch # User giacomo # Date 1143215654 28800 # Node ID 419fea14270c6b5b47f191df4b1e9df6a99fde36 # Parent 2f66993e2a5311071e114d83123303be77363b53 [svn] fixed multiple spawns of vorbis aboutbox diff -r 2f66993e2a53 -r 419fea14270c Plugins/Input/vorbis/vorbis.c --- a/Plugins/Input/vorbis/vorbis.c Fri Mar 24 07:51:13 2006 -0800 +++ b/Plugins/Input/vorbis/vorbis.c Fri Mar 24 07:54:14 2006 -0800 @@ -812,28 +812,30 @@ if (about_window) gdk_window_raise(about_window->window); - - about_window = xmms_show_message(_("About Ogg Vorbis Audio Plugin"), - /* - * I18N: UTF-8 Translation: "Haavard Kvaalen" -> - * "H\303\245vard Kv\303\245len" - */ - _ - ("Ogg Vorbis Plugin by the Xiph.org Foundation\n\n" - "Original code by\n" - "Tony Arcieri \n" - "Contributions from\n" - "Chris Montgomery \n" - "Peter Alm \n" - "Michael Smith \n" - "Jack Moffitt \n" - "Jorn Baayen \n" - "Haavard Kvaalen \n" - "Gian-Carlo Pascutto \n\n" - "Visit the Xiph.org Foundation at http://www.xiph.org/\n"), - _("Ok"), FALSE, NULL, NULL); - g_signal_connect(G_OBJECT(about_window), "destroy", - G_CALLBACK(gtk_widget_destroyed), &about_window); + else + { + about_window = xmms_show_message(_("About Ogg Vorbis Audio Plugin"), + /* + * I18N: UTF-8 Translation: "Haavard Kvaalen" -> + * "H\303\245vard Kv\303\245len" + */ + _ + ("Ogg Vorbis Plugin by the Xiph.org Foundation\n\n" + "Original code by\n" + "Tony Arcieri \n" + "Contributions from\n" + "Chris Montgomery \n" + "Peter Alm \n" + "Michael Smith \n" + "Jack Moffitt \n" + "Jorn Baayen \n" + "Haavard Kvaalen \n" + "Gian-Carlo Pascutto \n\n" + "Visit the Xiph.org Foundation at http://www.xiph.org/\n"), + _("Ok"), FALSE, NULL, NULL); + g_signal_connect(G_OBJECT(about_window), "destroy", + G_CALLBACK(gtk_widget_destroyed), &about_window); + } }