aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-07-26 13:57:13 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-07-26 13:57:13 +0800
commit8386d38a2f8b8186554378d2a3db31d9bc26cb5c (patch)
treee69a5f81f7e18ab7f5afd0002239461135b741fc /addressbook/gui
parent09365bf01c61dd2a28eee92fd332c2b6ca82ce2b (diff)
downloadgsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar
gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.gz
gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.bz2
gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.lz
gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.xz
gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.tar.zst
gsoc2013-evolution-8386d38a2f8b8186554378d2a3db31d9bc26cb5c.zip
Fixing a small, stupid mistake; use e_select_names_model_get_textification
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". svn path=/trunk/; revision=11423
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/select-names/e-select-names-bonobo.c11
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);