aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-list-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-28 08:51:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-03-28 10:08:48 +0800
commit5ece5b9483db0ca246eea687c4e883d38306aff4 (patch)
tree57b974f1dcefc981b2dd10694970cc0ecd3dcb27 /calendar/gui/e-meeting-list-view.c
parent5ac61cc67e3874547b83f5c05ae2c1b76a6de3bb (diff)
downloadgsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.tar
gsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.tar.gz
gsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.tar.bz2
gsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.tar.lz
gsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.tar.xz
gsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.tar.zst
gsoc2013-evolution-5ece5b9483db0ca246eea687c4e883d38306aff4.zip
ESelectNamesRenderer: Add a "client-cache" construct-only property.
Diffstat (limited to 'calendar/gui/e-meeting-list-view.c')
-rw-r--r--calendar/gui/e-meeting-list-view.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c
index 6d6414aab1..e211d21f82 100644
--- a/calendar/gui/e-meeting-list-view.c
+++ b/calendar/gui/e-meeting-list-view.c
@@ -607,6 +607,7 @@ build_table (EMeetingListView *lview)
GtkCellRenderer *renderer;
GtkTreeView *view = GTK_TREE_VIEW (lview);
EMeetingListViewPrivate *priv;
+ EClientCache *client_cache;
GHashTable *edit_table;
GtkTreeViewColumn *col;
gint pos;
@@ -616,7 +617,9 @@ build_table (EMeetingListView *lview)
gtk_tree_view_set_headers_visible (view, TRUE);
gtk_tree_view_set_rules_hint (view, TRUE);
- renderer = e_select_names_renderer_new ();
+ client_cache = e_name_selector_ref_client_cache (priv->name_selector);
+
+ renderer = e_select_names_renderer_new (client_cache);
g_object_set (renderer, "editable", TRUE, NULL);
/* The extra space is just a hack to occupy more space for Attendee */
pos = gtk_tree_view_insert_column_with_attributes (
@@ -702,6 +705,8 @@ build_table (EMeetingListView *lview)
g_hash_table_insert (edit_table, GINT_TO_POINTER (E_MEETING_STORE_STATUS_COL), renderer);
priv->renderers = edit_table;
+
+ g_object_unref (client_cache);
}
static void