
2001-07-04 Rodrigo Moya <rodrigo@ximian.com> * e-categories-master-list-wombat.c (ecmlw_load): load all icons and colors for each category (ecmlw_save): save all icons and categories associated with each category * e-categories-config.c: use BonoboConf to store/retrieve settings, and use ECategoriesMasterListWombat when creating a ECategories dialog widget svn path=/trunk/; revision=10781
36 lines
925 B
C
36 lines
925 B
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* Categories configuration.
|
|
*
|
|
* Author:
|
|
* Rodrigo Moya <rodrigo@ximian.com>
|
|
*
|
|
* Copyright 2001, Ximian, Inc.
|
|
*/
|
|
|
|
#ifndef __E_CATEGORIES_CONFIG_H__
|
|
#define __E_CATEGORIES_CONFIG_H__
|
|
|
|
#include <glib.h>
|
|
#include <gdk/gdk.h>
|
|
#include <gtk/gtkentry.h>
|
|
#include <libgnome/gnome-defs.h>
|
|
|
|
BEGIN_GNOME_DECLS
|
|
|
|
const char *e_categories_config_get_color_for (const char *category);
|
|
void e_categories_config_set_color_for (const char *category, const char *color);
|
|
|
|
void e_categories_config_get_icon_for (const char *category,
|
|
GdkPixmap **icon,
|
|
GdkBitmap **mask);
|
|
const char *e_categories_config_get_icon_file_for (const char *category);
|
|
void e_categories_config_set_icon_for (const char *category,
|
|
const char *pixmap_file);
|
|
|
|
void e_categories_config_open_dialog_for_entry (GtkEntry *entry);
|
|
|
|
END_GNOME_DECLS
|
|
|
|
#endif
|