diff options
author | Milan Crha <mcrha@redhat.com> | 2008-12-10 19:05:01 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-12-10 19:05:01 +0800 |
commit | 65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7 (patch) | |
tree | 6464b3307de194cd3326f3402a597cf09ccb4646 /filter/filter-label.h | |
parent | 8977778ec47a4c415884fe210e258716aa011879 (diff) | |
download | gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.gz gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.bz2 gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.lz gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.xz gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.zst gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.zip |
** Fix for bug #563870
2008-12-10 Milan Crha <mcrha@redhat.com>
** Fix for bug #563870
* e-util/e-util-labels.h: (e_util_labels_get_filter_options):
* e-util/e-util-labels.c: (e_util_labels_get_filter_options):
New helper function to be used in FilterOption.
* filter/Makefile.am:
* filter/filter-label.h:
* filter/filter-label.c: Drop, not used anywhere.
* filter/filter-element.c:
* filter/rule-context.c: Remove dropped include and code.
* filter/filter-option.c: (get_dynamic_options), (xml_create), (get_widget):
Evaluate dynamic options even on create, to have them available for
saved searches even before the widget itself is shown.
* mail/vfoldertypes.xml:
* mail/filtertypes.xml:
* mail/searchtypes.xml: Use dynamic filter option.
* mail/message-list.c: Drop unused header include.
svn path=/trunk/; revision=36863
Diffstat (limited to 'filter/filter-label.h')
-rw-r--r-- | filter/filter-label.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/filter/filter-label.h b/filter/filter-label.h deleted file mode 100644 index 5df24b8b0d..0000000000 --- a/filter/filter-label.h +++ /dev/null @@ -1,70 +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/> - * - * - * Authors: - * Jeffrey Stedfast <fejj@ximian.com> - * - * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) - * - */ - -#ifndef __FILTER_LABEL__ -#define __FILTER_LABEL__ - -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ - -#include "filter-option.h" - -#define FILTER_TYPE_LABEL (filter_label_get_type ()) -#define FILTER_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FILTER_TYPE_LABEL, FilterLabel)) -#define FILTER_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FILTER_TYPE_LABEL, FilterLabelClass)) -#define IS_FILTER_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FILTER_TYPE_LABEL)) -#define IS_FILTER_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FILTER_TYPE_LABEL)) -#define FILTER_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FILTER_TYPE_LABEL, FilterLabelClass)) - -typedef struct _FilterLabel FilterLabel; -typedef struct _FilterLabelClass FilterLabelClass; - -struct _FilterLabel { - FilterOption parent_object; - -}; - -struct _FilterLabelClass { - FilterOptionClass parent_class; - - /* virtual methods */ - - /* signals */ -}; - -GType filter_label_get_type (void); - -FilterLabel *filter_label_new (void); - -/* Sigh, this is a mess, but its cleaner than the original mess */ -int filter_label_count(void); -const char *filter_label_label(int i); -int filter_label_index(const char *label); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* __FILTER_LABEL__ */ |