From 8386d38a2f8b8186554378d2a3db31d9bc26cb5c Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Thu, 26 Jul 2001 05:57:13 +0000 Subject: Fixing a small, stupid mistake; use e_select_names_model_get_textification 2001-07-26 Jon Trowbridge * gui/component/select-names/e-select-names-bonobo.c: Fixing a small, stupid mistake; use e_select_names_model_get_textification for the getter for "text". svn path=/trunk/; revision=11423 --- addressbook/ChangeLog | 4 ++++ .../gui/component/select-names/e-select-names-bonobo.c | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 74fb850a97..0de85ed033 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,9 @@ 2001-07-26 Jon Trowbridge + * gui/component/select-names/e-select-names-bonobo.c: Fixing a + small, stupid mistake; use e_select_names_model_get_textification + for the getter for "text". + * backend/ebook/e-card.c: Removed some debugging chatter. * gui/component/select-names/e-select-names-manager.c 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); -- cgit