diff options
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-bonobo.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-bonobo.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c index d2e4ab5b00..25adf13a65 100644 --- a/addressbook/gui/component/select-names/e-select-names-bonobo.c +++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c @@ -70,18 +70,25 @@ entry_get_property_fn (BonoboPropertyBag *bag, void *user_data) { GtkWidget *w; - char *text; w = GTK_WIDGET (user_data); switch (arg_id) { case ENTRY_PROPERTY_ID_TEXT: - BONOBO_ARG_SET_STRING (arg, e_entry_get_text (E_ENTRY (w))); + { + ESelectNamesModel *model; + model = E_SELECT_NAMES_MODEL (gtk_object_get_data (GTK_OBJECT (w), "select_names_model")); + g_assert (model != NULL); + + BONOBO_ARG_SET_STRING (arg, e_select_names_model_get_textification (model)); break; + } case ENTRY_PROPERTY_ID_DESTINATIONS: { ESelectNamesModel *model; + char *text; + model = E_SELECT_NAMES_MODEL (gtk_object_get_data (GTK_OBJECT (w), "select_names_model")); g_assert (model != NULL); |