aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-view.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-02-03 06:20:41 +0800
committerChris Toshok <toshok@src.gnome.org>2004-02-03 06:20:41 +0800
commit88df864cb719348f3f07b9abefd6a22f6880bdb8 (patch)
tree1661f64abb9f345df918f159a08ff32de9ec359f /addressbook/gui/widgets/e-addressbook-view.h
parent04d688c182981ee00bb33ca97dc3b45982db048d (diff)
downloadgsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.tar
gsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.tar.gz
gsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.tar.bz2
gsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.tar.lz
gsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.tar.xz
gsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.tar.zst
gsoc2013-evolution-88df864cb719348f3f07b9abefd6a22f6880bdb8.zip
hook up contact_changed/contact_removed signals. (contact_changed): new
2004-02-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_new): hook up contact_changed/contact_removed signals. (contact_changed): new function. if the changed contact is the one we're displaying, re-render it. (contact_removed): new function. if the removed contact is the one we're displaying, clear the display. (render_contact): set displayed_contact to the row. (eab_view_init): init displayed_contact to -1. (selection_changed): set displayed_contact to -1 when we clear the display. * gui/widgets/e-addressbook-view.h (struct _EABView): add "displayed_contact" so we can update the contact preview when it changes. svn path=/trunk/; revision=24574
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.h')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.h b/addressbook/gui/widgets/e-addressbook-view.h
index c03c1e3d00..c90356beee 100644
--- a/addressbook/gui/widgets/e-addressbook-view.h
+++ b/addressbook/gui/widgets/e-addressbook-view.h
@@ -76,6 +76,8 @@ struct _EABView
char *query;
guint editable : 1;
+ gint displayed_contact;
+
GObject *object;
GtkWidget *widget;