Mercurial > audlegacy
comparison Plugins/Output/sun/about.c @ 758:f9e8807ea6e5 trunk
[svn] - Initial port of the bsd/sun audio output plugin from XMMS. Needs testing.
author | nenolod |
---|---|
date | Tue, 28 Feb 2006 11:32:33 -0800 |
parents | |
children | f12d7e208b43 |
comparison
equal
deleted
inserted
replaced
757:30fe36d312c8 | 758:f9e8807ea6e5 |
---|---|
1 /* | |
2 * Copyright (C) 2001 CubeSoft Communications, Inc. | |
3 * <http://www.csoft.org> | |
4 * | |
5 * This program is free software; you can redistribute it and/or modify | |
6 * it under the terms of the GNU General Public License as published by | |
7 * the Free Software Foundation; either version 2 of the License, or | |
8 * (at your option) any later version. | |
9 * | |
10 * This program is distributed in the hope that it will be useful, | |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 * GNU General Public License for more details. | |
14 * | |
15 * You should have received a copy of the GNU General Public License | |
16 * along with this program; if not, write to the Free Software | |
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
18 */ | |
19 | |
20 #include "sun.h" | |
21 #include "libaudacious/util.h" | |
22 | |
23 #include <glib.h> | |
24 #include <glib/gi18n.h> | |
25 | |
26 void sun_about(void) | |
27 { | |
28 static GtkWidget *dialog; | |
29 | |
30 if (dialog != NULL) | |
31 return; | |
32 | |
33 dialog = xmms_show_message( | |
34 _("About the Sun Driver"), | |
35 _("XMMS BSD Sun Driver\n\n" | |
36 "Copyright (c) 2001 CubeSoft Communications, Inc.\n" | |
37 "Maintainer: <vedge at csoft.org>.\n"), | |
38 _("Ok"), FALSE, NULL, NULL); | |
39 | |
40 gtk_signal_connect(GTK_OBJECT(dialog), "destroy", | |
41 GTK_SIGNAL_FUNC(gtk_widget_destroyed), | |
42 &dialog); | |
43 } | |
44 |