/* ***********************IMPORTANT *********************************************
 *  Copyright (C) 2004-2007 Thierry Lagarde <tlagarde@users.sourceforge.net>
 *  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.
 *
 *
 *                      ********************
 *
 *
 *  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 Library General Public License for more details.
 *
 *
 *                      ********************
 *
 *
 * You are highly encouraged to send your changes to <tlagarde@users.sourceforge.net>
 * for possible incorporation into the main distribution.
 * By sending these changes to <tlagarde@users.sourceforge.net>,
 * it is assumed that you are offering <tlagarde@users.sourceforge.net>
 * the unlimited, non-exclusive right to reuse, modify, and relicense the code.
 *
 *
 *                      ********************
 *
 *  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 <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <gtk/gtk.h>


#include "New_Update_Callbacks.h"
#include "New_Update_Interface.h"
#include "Root_Interface.h"
#include "../Declaration_Constante.h"

void create_window_New_Update (void)
{

	window_New_Update = gtk_window_new (GTK_WINDOW_TOPLEVEL);
	gtk_window_set_title (GTK_WINDOW (window_New_Update), "Update Available");
	gtk_window_set_resizable (GTK_WINDOW (window_New_Update), FALSE);
	gtk_window_set_position (GTK_WINDOW (window_New_Update), GTK_WIN_POS_CENTER);
	gtk_window_set_modal (GTK_WINDOW (window_New_Update), TRUE);
	gtk_window_set_transient_for (GTK_WINDOW (window_New_Update), GTK_WINDOW (window_root));
	window_New_Update_icon_pixbuf = gdk_pixbuf_new_from_file (PATH_ICONE "/AutoScan.png", NULL);
	if (window_New_Update_icon_pixbuf) {
		gtk_window_set_icon (GTK_WINDOW (window_New_Update), window_New_Update_icon_pixbuf);
		gdk_pixbuf_unref (window_New_Update_icon_pixbuf);
	}
	
	vbox_New_Update = gtk_vbox_new (FALSE, 0);
	gtk_widget_show (vbox_New_Update);
	gtk_container_add (GTK_CONTAINER (window_New_Update), vbox_New_Update);

	hbox_New_Update_Texte = gtk_hbox_new (FALSE, 0);
	gtk_widget_show (hbox_New_Update_Texte);
	gtk_box_pack_start (GTK_BOX (vbox_New_Update), hbox_New_Update_Texte, TRUE, TRUE, 8);

	image_New_Update = gtk_image_new_from_file (PATH_ICONE "new_update.png");
	gtk_widget_show (image_New_Update);
	gtk_box_pack_start (GTK_BOX (hbox_New_Update_Texte), image_New_Update, TRUE, TRUE, 5);

	label_New_Update = gtk_label_new ("A new update is available at:\nhttp://autoscan-network.com");
	gtk_widget_show (label_New_Update);
	gtk_box_pack_start (GTK_BOX (hbox_New_Update_Texte), label_New_Update, FALSE, FALSE, 13);

	hbox_New_Update_Bouton = gtk_hbox_new (FALSE, 0);
	gtk_widget_show (hbox_New_Update_Bouton);
	gtk_box_pack_start (GTK_BOX (vbox_New_Update), hbox_New_Update_Bouton, TRUE, TRUE, 8);

	fixed_New_Update = gtk_fixed_new ();
	gtk_widget_show (fixed_New_Update);
	gtk_box_pack_start (GTK_BOX (hbox_New_Update_Bouton), fixed_New_Update, TRUE, TRUE, 0);

	button_New_Update_Annuler = gtk_button_new_from_stock ("gtk-cancel");
	gtk_widget_show (button_New_Update_Annuler);
	gtk_box_pack_start (GTK_BOX (hbox_New_Update_Bouton), button_New_Update_Annuler, FALSE, FALSE, 4);

	button_New_Update_Visit = gtk_button_new_with_mnemonic ("Visit Site");
	gtk_widget_show (button_New_Update_Visit);
	gtk_box_pack_start (GTK_BOX (hbox_New_Update_Bouton), button_New_Update_Visit, FALSE, FALSE, 4);

	g_signal_connect ((gpointer) window_New_Update, "delete_event", G_CALLBACK (on_window_New_Update_delete_event), NULL);
	g_signal_connect ((gpointer) button_New_Update_Annuler, "clicked", G_CALLBACK (on_button_New_Update_Annuler_clicked), NULL);
	g_signal_connect ((gpointer) button_New_Update_Visit, "clicked", G_CALLBACK (on_button_New_Update_Visit_clicked), NULL);
}
*/
