view src/xs_about.c @ 24:271be59be975

Lots of changes
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 07 Jun 2003 12:42:05 +0000
parents 183e7cbc1036
children
line wrap: on
line source

/*  
   xmms-sid - SIDPlay input plugin for X MultiMedia System (XMMS)

   Aboutbox dialog
   
   Written by Matti "ccr" Hamalainen <mhamalai@ratol.fi>
   (Created with Glade, the Gtk+ interface builder, but edited
   by hand afterwards to make it work here)

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#include "xmms-sid.h"
#include <gtk/gtk.h>
#include "xmms-sid-logo.xpm"


static GtkWidget *xs_aboutwin = NULL;

int xs_aboutwin_ok(void)
{
 gtk_widget_destroy(xs_aboutwin);
 return 0;
}


/*
 * Execute the aboutbox
 */
void xs_aboutbox(void)
{
 /* Check if there already is an open about window */
 if (xs_aboutwin != NULL)
 	{
	gdk_window_raise(xs_aboutwin->window);
	return;
	}

 /* No, create one ... */	
}