Logo Search packages:      
Sourcecode: wallpaper-tray version File versions  Download package

wp_tray_about.c

// WP_TRAY_ABOUT.C /////////////////////////////////////////////////////
//
// Author:                    E^rthW( )rm 2003
// Last Mod:                  Friday, September 05 2003
// About:                     Callback handlers for the about dialog
// License:             GPL

// includes ////////////////////////////////////////////////////////////
//
#include <stdio.h>
#include <gtk/gtk.h>
#include <gnome.h>
#include <glade/glade.h>
#include <sys/types.h>
#include <dirent.h>
#include <gconf/gconf-client.h>
#include "config.h"
#include "../include/wp_tray_util.h"
#include "../include/wp_tray_about.h"

// f_on_wp_search_pressed //////////////////////////////////////////////
//
// create about window on request 
void
f_on_wp_about_pressed               (GtkWidget *button, gpointer user_data)
{
      gchar                               sz_xml_path[100];
      GladeXML                            * xml;                                    // pointer for xml interface loading
      
      // create ui location string 
      snprintf(sz_xml_path, 100, "%s/wp_tray_about.glade", PACKAGE_DATA_DIR);
      
      // load the interface
    xml = glade_xml_new(sz_xml_path, NULL, NULL);
}// end

Generated by  Doxygen 1.6.0   Back to index