diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2008-12-03 00:41:24 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-12-03 00:41:24 +0800 |
commit | 4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7 (patch) | |
tree | 6efff725c6073587c9f1f86bc244fb028b5dbb91 /addressbook | |
parent | 2cdecac7c2567273027f5de0094605e19b73ad8c (diff) | |
download | gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar.gz gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar.zst gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.zip |
** Fixes part of bug #348299
2008-12-02 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #348299
* addressbook/gui/contact-editor/e-contact-editor.c
(e_contact_editor_init):
* calendar/gui/dialogs/event-page.c (get_widgets):
* calendar/gui/dialogs/memo-page.c (get_widgets):
* calendar/gui/dialogs/task-page.c (get_widgets):
Use category completion in the Categories field.
* calendar/gui/dialogs/event-editor.c:
* calendar/gui/dialogs/memo-editor.c:
* calendar/gui/dialogs/task-editor.c:
Fix some reference count leaks.
svn path=/trunk/; revision=36826
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index adb36417bd..bb0cdeb755 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2008-12-02 Matthew Barnes <mbarnes@redhat.com> + + ** Fixes part of bug #348299 + + * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): + Use category completion in the Categories field. + 2008-11-17 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #557818 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", |