comparison src/OSS/about.c @ 12:3da1b8942b8b trunk

[svn] - remove src/Input src/Output src/Effect src/General src/Visualization src/Container
author nenolod
date Mon, 18 Sep 2006 03:14:20 -0700
parents src/Output/OSS/about.c@6303e3a8a6b8
children d124034ebea3
comparison
equal deleted inserted replaced
11:cff1d04026ae 12:3da1b8942b8b
1 /* BMP - Cross-platform multimedia player
2 * Copyright (C) 2003-2004 BMP development team.
3 *
4 * Based on XMMS:
5 * Copyright (C) 1998-2003 XMMS development team.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 */
21
22 #include "OSS.h"
23
24 #include <glib.h>
25 #include <glib/gi18n.h>
26 #include <gtk/gtk.h>
27
28 #include <audacious/util.h>
29
30
31 void
32 oss_about(void)
33 {
34 static GtkWidget *dialog;
35
36 if (dialog != NULL)
37 return;
38
39 dialog = xmms_show_message(_("About OSS Driver"),
40 _("Audacious OSS Driver\n\n "
41 "This program is free software; you can redistribute it and/or modify\n"
42 "it under the terms of the GNU General Public License as published by\n"
43 "the Free Software Foundation; either version 2 of the License, or\n"
44 "(at your option) any later version.\n"
45 "\n"
46 "This program is distributed in the hope that it will be useful,\n"
47 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
48 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
49 "GNU General Public License for more details.\n"
50 "\n"
51 "You should have received a copy of the GNU General Public License\n"
52 "along with this program; if not, write to the Free Software\n"
53 "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,\n"
54 "USA."), _("Ok"), FALSE, NULL, NULL);
55 g_signal_connect(G_OBJECT(dialog), "destroy",
56 G_CALLBACK(gtk_widget_destroyed), &dialog);
57 }