Logo Search packages:      
Sourcecode: gafix version File versions  Download package

info_dialog.c

 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Project: gafix                                                         *
 * File: info_dialog.c                                                    *
 * Copyright: (c) 2007 Sebastian Reichel                                  *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

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

#include <glade/glade.h>
#include "gafix.h"
#include "statusbar.h"

void
about (void)
{
      /* print debug message */
      statusbar_write ("Show about window");

      /* load glade xml file -> about dialog*/
      xml = glade_xml_new (GLADE_FILE, "aboutdialog", NULL);

      /* connect functions to signals */
      glade_xml_signal_autoconnect(xml);

      /* show the widget */
      gtk_widget_show(glade_xml_get_widget (xml, "aboutdialog"));
      
      /* load glade xml file -> main */
      xml = glade_xml_new (GLADE_FILE, "main", NULL);

      /* connect functions to signals */
      glade_xml_signal_autoconnect(xml);
}

Generated by  Doxygen 1.6.0   Back to index