Mercurial > audlegacy
comparison Output/alsa/about.c @ 0:cb178e5ad177 trunk
[svn] Import audacious source.
author | nenolod |
---|---|
date | Mon, 24 Oct 2005 03:06:47 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:cb178e5ad177 |
---|---|
1 /* XMMS - ALSA output plugin | |
2 * Copyright (C) 2001-2003 Matthieu Sozeau <mattam@altern.org> | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program; if not, write to the Free Software | |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
17 */ | |
18 | |
19 #include "alsa.h" | |
20 | |
21 #include <glib.h> | |
22 #include <glib/gi18n.h> | |
23 #include <gtk/gtk.h> | |
24 | |
25 #include <libaudacious/util.h> | |
26 | |
27 | |
28 void | |
29 alsa_about(void) | |
30 { | |
31 static GtkWidget *dialog; | |
32 | |
33 if (dialog != NULL) | |
34 return; | |
35 | |
36 dialog = xmms_show_message(_("About ALSA Driver"), | |
37 _("XMMS ALSA Driver\n\n " | |
38 "This program is free software; you can redistribute it and/or modify\n" | |
39 "it under the terms of the GNU General Public License as published by\n" | |
40 "the Free Software Foundation; either version 2 of the License, or\n" | |
41 "(at your option) any later version.\n" | |
42 "\n" | |
43 "This program is distributed in the hope that it will be useful,\n" | |
44 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" | |
45 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" | |
46 "GNU General Public License for more details.\n" | |
47 "\n" | |
48 "You should have received a copy of the GNU General Public License\n" | |
49 "along with this program; if not, write to the Free Software\n" | |
50 "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,\n" | |
51 "USA.\n" | |
52 "Author: Matthieu Sozeau (mattam@altern.org)"), | |
53 _("Ok"), FALSE, NULL, NULL); | |
54 g_signal_connect(dialog, "destroy", | |
55 G_CALLBACK(gtk_widget_destroyed), &dialog); | |
56 } |