diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-06-27 11:15:53 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-06-27 11:15:53 +0800 |
commit | 2ac2af6d4bcdfddf91c661a5c6ba96d6238a5a57 (patch) | |
tree | 6a202e8e73d3153ad9fd9be4a9cf4997d1559abd /addressbook/gui/component/select-names/e-select-names.c | |
parent | 98ba73cd578ff9e78e38a99fb1d414804dc73eb1 (diff) | |
download | gsoc2013-evolution-2ac2af6d4bcdfddf91c661a5c6ba96d6238a5a57.tar.gz gsoc2013-evolution-2ac2af6d4bcdfddf91c661a5c6ba96d6238a5a57.tar.zst gsoc2013-evolution-2ac2af6d4bcdfddf91c661a5c6ba96d6238a5a57.zip |
Added a categories combo here. It's not used yet.
2001-06-26 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h,
gui/component/select-names/select-names.glade
(e_select_names_create_categories): Added a categories combo here.
It's not used yet.
svn path=/trunk/; revision=10524
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 2a6be901b4..bd042fe53c 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -39,6 +39,8 @@ #include "e-select-names.h" #include <addressbook/backend/ebook/e-card-simple.h> #include "e-select-names-table-model.h" +#include <gal/widgets/e-categories-master-list-combo.h> +#include <e-util/e-categories-master-list-wombat.h> static void e_select_names_init (ESelectNames *card); static void e_select_names_class_init (ESelectNamesClass *klass); @@ -383,6 +385,25 @@ e_select_names_hookup_shell_listener (ESelectNames *e_select_names) CORBA_exception_free(&ev); } +GtkWidget *e_select_names_create_categories (gchar *name, + gchar *string1, gchar *string2, + gint int1, gint int2); + +GtkWidget * +e_select_names_create_categories (gchar *name, + gchar *string1, gchar *string2, + gint int1, gint int2) +{ + ECategoriesMasterList *ecml; + GtkWidget *combo; + + ecml = e_categories_master_list_wombat_new (); + combo = e_categories_master_list_combo_new (ecml); + gtk_object_unref (GTK_OBJECT (ecml)); + + return combo; +} + static void e_select_names_init (ESelectNames *e_select_names) { @@ -416,6 +437,8 @@ e_select_names_init (ESelectNames *e_select_names) e_select_names->model = gtk_object_get_data(GTK_OBJECT(e_select_names->table), "model"); e_select_names->adapter = gtk_object_get_data(GTK_OBJECT(e_select_names->table), "adapter"); + e_select_names->categories = glade_xml_get_widget (gui, "custom-categories"); + e_select_names->currently_selected = -1; e_select_names->folders = g_hash_table_new(g_str_hash, g_str_equal); |