aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.h
blob: 99dc02be2310b1e6c78b8ca196aa9e5b972041af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* -*- 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);

gboolean 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