comparison Plugins/Input/vorbis/vorbis.c @ 866:419fea14270c trunk

[svn] fixed multiple spawns of vorbis aboutbox
author giacomo
date Fri, 24 Mar 2006 07:54:14 -0800
parents c8cf439179b8
children a62f163c319a
comparison
equal deleted inserted replaced
865:2f66993e2a53 866:419fea14270c
810 { 810 {
811 static GtkWidget *about_window; 811 static GtkWidget *about_window;
812 812
813 if (about_window) 813 if (about_window)
814 gdk_window_raise(about_window->window); 814 gdk_window_raise(about_window->window);
815 815 else
816 about_window = xmms_show_message(_("About Ogg Vorbis Audio Plugin"), 816 {
817 /* 817 about_window = xmms_show_message(_("About Ogg Vorbis Audio Plugin"),
818 * I18N: UTF-8 Translation: "Haavard Kvaalen" -> 818 /*
819 * "H\303\245vard Kv\303\245len" 819 * I18N: UTF-8 Translation: "Haavard Kvaalen" ->
820 */ 820 * "H\303\245vard Kv\303\245len"
821 _ 821 */
822 ("Ogg Vorbis Plugin by the Xiph.org Foundation\n\n" 822 _
823 "Original code by\n" 823 ("Ogg Vorbis Plugin by the Xiph.org Foundation\n\n"
824 "Tony Arcieri <bascule@inferno.tusculum.edu>\n" 824 "Original code by\n"
825 "Contributions from\n" 825 "Tony Arcieri <bascule@inferno.tusculum.edu>\n"
826 "Chris Montgomery <monty@xiph.org>\n" 826 "Contributions from\n"
827 "Peter Alm <peter@xmms.org>\n" 827 "Chris Montgomery <monty@xiph.org>\n"
828 "Michael Smith <msmith@labyrinth.edu.au>\n" 828 "Peter Alm <peter@xmms.org>\n"
829 "Jack Moffitt <jack@icecast.org>\n" 829 "Michael Smith <msmith@labyrinth.edu.au>\n"
830 "Jorn Baayen <jorn@nl.linux.org>\n" 830 "Jack Moffitt <jack@icecast.org>\n"
831 "Haavard Kvaalen <havardk@xmms.org>\n" 831 "Jorn Baayen <jorn@nl.linux.org>\n"
832 "Gian-Carlo Pascutto <gcp@sjeng.org>\n\n" 832 "Haavard Kvaalen <havardk@xmms.org>\n"
833 "Visit the Xiph.org Foundation at http://www.xiph.org/\n"), 833 "Gian-Carlo Pascutto <gcp@sjeng.org>\n\n"
834 _("Ok"), FALSE, NULL, NULL); 834 "Visit the Xiph.org Foundation at http://www.xiph.org/\n"),
835 g_signal_connect(G_OBJECT(about_window), "destroy", 835 _("Ok"), FALSE, NULL, NULL);
836 G_CALLBACK(gtk_widget_destroyed), &about_window); 836 g_signal_connect(G_OBJECT(about_window), "destroy",
837 G_CALLBACK(gtk_widget_destroyed), &about_window);
838 }
837 } 839 }
838 840
839 841
840 static void 842 static void
841 vorbis_init(void) 843 vorbis_init(void)