aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-12-03 00:41:24 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-12-03 00:41:24 +0800
commit4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7 (patch)
tree6efff725c6073587c9f1f86bc244fb028b5dbb91 /calendar/gui/dialogs/event-page.c
parent2cdecac7c2567273027f5de0094605e19b73ad8c (diff)
downloadgsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar
gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar.gz
gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar.bz2
gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar.lz
gsoc2013-evolution-4bec962f7b5cd2a65bed33de3e8f56f3b2b4bad7.tar.xz
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 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 4a36f8ced3..ca42dd92fb 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -34,6 +34,7 @@
#include <glib/gi18n.h>
#include <glade/glade.h>
#include <gdk/gdkkeysyms.h>
+#include <libedataserverui/e-category-completion.h>
#include <libedataserverui/e-source-combo-box.h>
#include "common/authentication.h"
#include "e-util/e-categories-config.h"
@@ -2157,6 +2158,7 @@ static gboolean
get_widgets (EventPage *epage)
{
CompEditorPage *page = COMP_EDITOR_PAGE (epage);
+ GtkEntryCompletion *completion;
EventPagePrivate *priv;
GSList *accel_groups;
GtkWidget *toplevel;
@@ -2250,6 +2252,10 @@ get_widgets (EventPage *epage)
#undef GW
+ completion = e_category_completion_new ();
+ gtk_entry_set_completion (GTK_ENTRY (priv->categories), completion);
+ g_object_unref (completion);
+
return (priv->summary
&& priv->location
&& priv->start_time