comparison Plugins/Output/esd/about.c @ 61:fa848bd484d8 trunk

[svn] Move plugins to Plugins/
author nenolod
date Fri, 28 Oct 2005 22:58:11 -0700
parents
children 256b3acc87d4
comparison
equal deleted inserted replaced
60:1771f253e1b2 61:fa848bd484d8
1 /* xmms - esound output plugin
2 * Copyright (C) 1999 Galex Yen
3 * 3/9/99
4 *
5 * this program is free software
6 *
7 * Description:
8 * This program is an output plugin for xmms v0.9 or greater.
9 * The program uses the esound daemon to output audio in order
10 * to allow more than one program to play audio on the same
11 * device at the same time.
12 *
13 * Contains code Copyright (C) 1998-1999 Mikael Alm, Olle Hallnas,
14 * Thomas Nillson and 4Front Technologies
15 */
16
17 #include "esdout.h"
18
19 #include <glib.h>
20 #include <glib/gi18n.h>
21 #include <gtk/gtk.h>
22
23 #include <libaudacious/util.h>
24
25
26 void
27 esdout_about(void)
28 {
29 static GtkWidget *dialog;
30
31 if (dialog != NULL)
32 return;
33
34 dialog = xmms_show_message(_("About ESounD Plugin"),
35 _("XMMS ESounD Plugin\n\n "
36 "This program is free software; you can redistribute it and/or modify\n"
37 "it under the terms of the GNU General Public License as published by\n"
38 "the Free Software Foundation; either version 2 of the License, or\n"
39 "(at your option) any later version.\n"
40 "\n"
41 "This program is distributed in the hope that it will be useful,\n"
42 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
43 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
44 "GNU General Public License for more details.\n"
45 "\n"
46 "You should have received a copy of the GNU General Public License\n"
47 "along with this program; if not, write to the Free Software\n"
48 "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,\n"
49 "USA."), _("Ok"), FALSE, NULL, NULL);
50 g_signal_connect(G_OBJECT(dialog), "destroy",
51 G_CALLBACK(gtk_widget_destroyed), &dialog);
52 }