aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-categories-config.h
blob: 3af14dfc7f0d68371cbb28b1e3b5ce464addec7c (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
/* -*- 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>

G_BEGIN_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);

G_END_DECLS

#endif