diff options
Diffstat (limited to 'e-util/e-util-labels.h')
-rw-r--r-- | e-util/e-util-labels.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/e-util/e-util-labels.h b/e-util/e-util-labels.h deleted file mode 100644 index f0f3ae3bfe..0000000000 --- a/e-util/e-util-labels.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) version 3. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with the program; if not, see <http://www.gnu.org/licenses/> - * - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#ifndef _E_UTIL_LABELS_H -#define _E_UTIL_LABELS_H - -#include <gtk/gtk.h> -#include <gconf/gconf-client.h> - -typedef struct { - gchar *tag; - gchar *name; - gchar *colour; -} EUtilLabel; - -#define E_UTIL_LABELS_GCONF_KEY "/apps/evolution/mail/labels" - -GSList * e_util_labels_parse (struct _GConfClient *client); -void e_util_labels_free (GSList *labels); - -gchar * e_util_labels_add (const gchar *name, const GdkColor *color); -gchar * e_util_labels_add_with_dlg (GtkWindow *parent, const gchar *tag); -gboolean e_util_labels_remove (const gchar *tag); -gboolean e_util_labels_set_data (const gchar *tag, const gchar *name, const GdkColor *color); - -gboolean e_util_labels_is_system (const gchar *tag); -const gchar *e_util_labels_get_new_tag (const gchar *old_tag); - -const gchar *e_util_labels_get_name (GSList *labels, const gchar *tag); -gboolean e_util_labels_get_color (GSList *labels, const gchar *tag, GdkColor *color); -const gchar *e_util_labels_get_color_str (GSList *labels, const gchar *tag); - -GSList * e_util_labels_get_filter_options (void); - -#endif /* _E_UTIL_LABELS_H */ |