aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-09-14 16:27:16 +0800
committerMilan Crha <mcrha@redhat.com>2012-09-14 16:29:34 +0800
commit2db009a1cf75d22e345a25dccff2706193e7950d (patch)
tree15dae7879ce4a05ed8da1241c8af3feb52ebddc3 /calendar/gui
parent33456ffd561c1de5cd9c916fa0d97217abff8a3b (diff)
downloadgsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.tar
gsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.tar.gz
gsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.tar.bz2
gsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.tar.lz
gsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.tar.xz
gsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.tar.zst
gsoc2013-evolution-2db009a1cf75d22e345a25dccff2706193e7950d.zip
Autocompletion in meeting editor doesn't work
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-select-names-editable.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/calendar/gui/e-select-names-editable.c b/calendar/gui/e-select-names-editable.c
index ae12fdc43f..9e18175b15 100644
--- a/calendar/gui/e-select-names-editable.c
+++ b/calendar/gui/e-select-names-editable.c
@@ -27,6 +27,7 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <libebook/libebook.h>
+#include <shell/e-shell.h>
#include "e-select-names-editable.h"
@@ -50,7 +51,16 @@ e_select_names_editable_init (ESelectNamesEditable *esne)
ESelectNamesEditable *
e_select_names_editable_new (void)
{
- return g_object_new (E_TYPE_SELECT_NAMES_EDITABLE, NULL);
+ EShell *shell;
+
+ /* Might be cleaner to have 'registry' passed in, but the call chain
+ of this widget doesn't have access that low in the functions, thus
+ making the change without (private) API break. */
+ shell = e_shell_get_default ();
+
+ return g_object_new (E_TYPE_SELECT_NAMES_EDITABLE,
+ "registry", e_shell_get_registry (shell),
+ NULL);
}
gchar *