2003-01-14 Glynn Foster <glynn.foster@sun.com> * configure.in: Update to add new gconf requirement. * src/zenity.h, src/about.c: Hurray for a new about box, although it lacks an icon. I wonder if people would actually like to see this as part of the dialog options. Can't think of any reason to do so at the moment though. Large chunks copied from libgnomeui/gnome-about.[ch] * src/util.h, src/util.c: Add new helper functions because I don't want to touch gnome_program with a bargepole. Copied from libgnome/gnome-url.[ch] * po/POTFILES.in: Add missing files. I think we have everything now. * TODO: Update accordingly.
29 lines
861 B
C
29 lines
861 B
C
#ifndef UTIL_H
|
|
#define UTIL_H
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <glade/glade.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define ZENITY_GLADE_FILE_FULLPATH ZENITY_DATADIR "/zenity.glade"
|
|
#define ZENITY_GLADE_FILE_RELATIVEPATH "./zenity.glade"
|
|
#define ZENITY_IMAGE_FULLPATH(filename) (g_strconcat (ZENITY_DATADIR, "/", filename, NULL))
|
|
|
|
GladeXML* zenity_util_load_glade_file (const gchar *widget_root);
|
|
|
|
gboolean zenity_util_fill_file_buffer (GtkTextBuffer *buffer,
|
|
const gchar *filename);
|
|
|
|
void zenity_util_set_window_icon (GtkWidget *widget,
|
|
const gchar *filename);
|
|
|
|
void zenity_util_set_window_icon_from_stock (GtkWidget *widget,
|
|
const gchar *stock_id);
|
|
|
|
gboolean zenity_util_show_help (const gchar *url,
|
|
GError **error);
|
|
G_END_DECLS
|
|
|
|
#endif /* UTIL_H */
|