annotate Plugins/Output/alsa/about.c @ 749:3787176f9875 trunk

[svn] more fixing
author nenolod
date Mon, 27 Feb 2006 20:32:58 -0800
parents d60d23b9fe20
children f12d7e208b43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
1 /* XMMS - ALSA output plugin
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
2 * Copyright (C) 2001-2003 Matthieu Sozeau <mattam@altern.org>
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
3 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
7 * (at your option) any later version.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
8 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful,
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
12 * GNU General Public License for more details.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
13 *
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
15 * along with this program; if not, write to the Free Software
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
17 */
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
18
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
19 #include "alsa.h"
212
12b1fe51852e [svn] Include fix, allows the plugin to compile again.
chainsaw
parents: 211
diff changeset
20 #include <libaudacious/util.h>
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
21
211
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
22 void alsa_about(void)
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
23 {
211
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
24 static GtkWidget *dialog;
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
25
211
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
26 if (dialog != NULL)
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
27 return;
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
28
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
29 dialog = xmms_show_message(
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
30 _("About ALSA Driver"),
509
d60d23b9fe20 [svn] sed -i s:XMMS:Audacious:g
nenolod
parents: 212
diff changeset
31 _("Audacious ALSA Driver\n\n "
211
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
32 "This program is free software; you can redistribute it and/or modify\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
33 "it under the terms of the GNU General Public License as published by\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
34 "the Free Software Foundation; either version 2 of the License, or\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
35 "(at your option) any later version.\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
36 "\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
37 "This program is distributed in the hope that it will be useful,\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
38 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
39 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
40 "GNU General Public License for more details.\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
41 "\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
42 "You should have received a copy of the GNU General Public License\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
43 "along with this program; if not, write to the Free Software\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
44 "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
45 "USA.\n"
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
46 "Author: Matthieu Sozeau (mattam@altern.org)"), _("OK"), FALSE, NULL, NULL);
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
47 gtk_signal_connect(GTK_OBJECT(dialog), "destroy",
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
48 GTK_SIGNAL_FUNC(gtk_widget_destroyed),
0b48662886e9 [svn] Sync ALSA plugin with enhancements/patches from Fatal (XMMS cvs)
nenolod
parents: 61
diff changeset
49 &dialog);
61
fa848bd484d8 [svn] Move plugins to Plugins/
nenolod
parents:
diff changeset
50 }