comparison src/Output/sun/about.c @ 0:13389e613d67 trunk

[svn] - initial import of audacious-plugins tree (lots to do)
author nenolod
date Mon, 18 Sep 2006 01:11:49 -0700
parents
children 088092a52fea
comparison
equal deleted inserted replaced
-1:000000000000 0:13389e613d67
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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