aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-11 09:36:14 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-11 09:36:14 +0800
commit5c2d5ded3f02254945c91b393dd73a9af7b67051 (patch)
treed65ffa93ec37f0617b185fea54f3caed2bf3b400 /addressbook/gui/component/select-names/e-select-names.c
parente95537c77b48fa69b862a41deccb4f7d196b495c (diff)
downloadgsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.tar
gsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.tar.gz
gsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.tar.bz2
gsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.tar.lz
gsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.tar.xz
gsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.tar.zst
gsoc2013-evolution-5c2d5ded3f02254945c91b393dd73a9af7b67051.zip
New search dialog for addressbook.
2000-08-10 Christopher James Lahey <clahey@helixcode.com> * gui/search/, gui/search/addresstypes.xml: New search dialog for addressbook. svn path=/trunk/; revision=4715
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c
index cbe89f6362..272a1f5e2a 100644
--- a/addressbook/gui/component/select-names/e-select-names.c
+++ b/addressbook/gui/component/select-names/e-select-names.c
@@ -41,8 +41,6 @@ static GnomeDialogClass *parent_class = NULL;
/* The arguments we take */
enum {
ARG_0,
- ARG_BOOK,
- ARG_QUERY,
};
typedef struct {
@@ -85,11 +83,6 @@ e_select_names_class_init (ESelectNamesClass *klass)
parent_class = gtk_type_class (PARENT_TYPE);
- gtk_object_add_arg_type ("ESelectNames::book", GTK_TYPE_OBJECT,
- GTK_ARG_READWRITE, ARG_BOOK);
- gtk_object_add_arg_type ("ESelectNames::query", GTK_TYPE_STRING,
- GTK_ARG_READWRITE, ARG_QUERY);
-
object_class->set_arg = e_select_names_set_arg;
object_class->get_arg = e_select_names_get_arg;
object_class->destroy = e_select_names_destroy;
@@ -98,15 +91,13 @@ e_select_names_class_init (ESelectNamesClass *klass)
#define SPEC "<ETableSpecification no-header=\"1\"> \
<columns-shown> \
<column> 2 </column> \
- <column> 1 </column> \
</columns-shown> \
<grouping> <leaf column=\"1\" ascending=\"1\"/> </grouping> \
</ETableSpecification>"
#define SPEC2 "<ETableSpecification no-header=\"1\"> \
<columns-shown> \
- <column> 0 </column> \
- <column> 1 </column> \
+ <column> 0 </column> \
</columns-shown> \
<grouping> </grouping> \
</ETableSpecification>"
@@ -118,6 +109,7 @@ set_book(EBook *book, EBookStatus status, ETableModel *model)
{
gtk_object_set(GTK_OBJECT(model),
"book", book,
+ "query", "(not (is \"email\" \"\"))",
NULL);
gtk_object_unref(GTK_OBJECT(book));
}