diff options
-rw-r--r-- | addressbook/ChangeLog | 4 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-bonobo.c | 11 |
2 files changed, 13 insertions, 2 deletions
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 <trow@ximian.com> + * 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); |