aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index f4be2e5ae7..c4f9d7e743 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -36,6 +36,7 @@
#include <misc/e-gui-utils.h>
#include <libebook/e-address-western.h>
+#include <libedataserverui/e-category-completion.h>
#include <libedataserverui/e-source-combo-box.h>
#include <camel/camel.h>
@@ -3307,6 +3308,7 @@ e_contact_editor_init (EContactEditor *e_contact_editor)
{
GladeXML *gui;
GtkWidget *widget, *label;
+ GtkEntryCompletion *completion;
char *gladefile;
e_contact_editor->name = e_contact_name_new();
@@ -3367,6 +3369,11 @@ e_contact_editor_init (EContactEditor *e_contact_editor)
if (widget)
gtk_widget_grab_focus (widget);
+ widget = glade_xml_get_widget (e_contact_editor->gui, "entry-categories");
+ completion = e_category_completion_new ();
+ gtk_entry_set_completion (GTK_ENTRY (widget), completion);
+ g_object_unref (completion);
+
/* Connect to the deletion of the dialog */
g_signal_connect (e_contact_editor->app, "delete_event",