aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-02-27 02:24:52 +0800
committerChris Toshok <toshok@src.gnome.org>2004-02-27 02:24:52 +0800
commit6ce5f011fbea862fecd948215ba378c549724363 (patch)
treeb17c864dbe8c512f43b12338afdf0733240b1305
parent2fe63c34bb2a8dcdf8e23b60938884240d5358af (diff)
downloadgsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.tar
gsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.tar.gz
gsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.tar.bz2
gsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.tar.lz
gsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.tar.xz
gsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.tar.zst
gsoc2013-evolution-6ce5f011fbea862fecd948215ba378c549724363.zip
call eab_view_show_contact_preview here so we maintain the preview state
2004-02-26 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (set_view_preview): call eab_view_show_contact_preview here so we maintain the preview state when switching folders. we don't (yet... won't ever?) have per-addressbook preview settings. svn path=/trunk/; revision=24893
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 8f6c4a4ec1..66a9575f53 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,12 @@
2004-02-26 Chris Toshok <toshok@ximian.com>
+ * gui/widgets/e-addressbook-view.c (set_view_preview): call
+ eab_view_show_contact_preview here so we maintain the preview
+ state when switching folders. we don't (yet... won't ever?) have
+ per-addressbook preview settings.
+
+2004-02-26 Chris Toshok <toshok@ximian.com>
+
* gui/widgets/e-addressbook-view.c
(eab_view_show_contact_preview): view->scrolled ->
view->contact_display. fixes crash.
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 6758d8369b..3b60560c11 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -535,6 +535,8 @@ set_view_preview (EABView *view)
"/commands/ContactsViewPreview",
"state",
state ? "1" : "0", NULL);
+
+ eab_view_show_contact_preview (view, state);
g_object_unref (gconf_client);
}