diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-11 12:12:28 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-11 12:12:28 +0800 |
commit | 835ec00d01e23256143229d8e2c99f68afae1e6c (patch) | |
tree | a84f64f459a6f00730cfc651290c2bfdb8e4e2f9 /addressbook/gui/widgets | |
parent | 86e45230bdfccc8c6a80dc81714aeb95cfd03b32 (diff) | |
download | gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.tar gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.tar.gz gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.tar.bz2 gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.tar.lz gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.tar.xz gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.tar.zst gsoc2013-evolution-835ec00d01e23256143229d8e2c99f68afae1e6c.zip |
Added glade files.
2000-06-11 Christopher James Lahey <clahey@helixcode.com>
* gui/component/Makefile.am: Added glade files.
* gui/component/addressbook.c: Added a test of the Select Names
functionality.
* gui/component/e-addressbook-model.c: Made this class_init
function a bit cleaner.
* gui/component/e-select-names.c: Tested this and fixed some
obvious errors.
* gui/component/select-names.glade: The main window shouldn't be
visible by default.
svn path=/trunk/; revision=3518
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c index 5d71757b60..5699ad0c00 100644 --- a/addressbook/gui/widgets/e-addressbook-model.c +++ b/addressbook/gui/widgets/e-addressbook-model.c @@ -15,6 +15,8 @@ #include <gnome.h> #define PARENT_TYPE e_table_model_get_type() +ETableModelClass *parent_class; + /* * EAddressbookModel callbacks * These are the callbacks that define the behavior of our custom model. @@ -197,15 +199,17 @@ e_addressbook_model_class_init (GtkObjectClass *object_class) { ETableModelClass *model_class = (ETableModelClass *) object_class; + parent_class = gtk_type_class (PARENT_TYPE); + + object_class->destroy = addressbook_destroy; + object_class->set_arg = e_addressbook_model_set_arg; + object_class->get_arg = e_addressbook_model_get_arg; + gtk_object_add_arg_type ("EAddressbookModel::book", GTK_TYPE_OBJECT, GTK_ARG_READWRITE, ARG_BOOK); gtk_object_add_arg_type ("EAddressbookModel::query", GTK_TYPE_STRING, GTK_ARG_READWRITE, ARG_QUERY); - object_class->destroy = addressbook_destroy; - object_class->set_arg = e_addressbook_model_set_arg; - object_class->get_arg = e_addressbook_model_get_arg; - model_class->column_count = addressbook_col_count; model_class->row_count = addressbook_row_count; model_class->value_at = addressbook_value_at; |