aboutsummaryrefslogtreecommitdiffstats
path: root/mail/subscribe-dialog.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-06-28 05:22:37 +0800
committerPeter Williams <peterw@src.gnome.org>2001-06-28 05:22:37 +0800
commit4cbcd49a8bed07221be190b80e84e23f0ad7d449 (patch)
tree29eac92a416e1ccd54694bc79183f6025003af08 /mail/subscribe-dialog.c
parent6fa46ef11d80a615733338bfe1f76acaef5eab48 (diff)
downloadgsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.tar
gsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.tar.gz
gsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.tar.bz2
gsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.tar.lz
gsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.tar.xz
gsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.tar.zst
gsoc2013-evolution-4cbcd49a8bed07221be190b80e84e23f0ad7d449.zip
Bump required gal version for new accessors in ETree.
2001-06-27 Peter Williams <peterw@ximian.com> * configure.in (gal): Bump required gal version for new accessors in ETree. mail: 2001-06-27 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Uncomment EditSelectThread. Yaay! * mail-callbacks.c (select_thread): New function. Self-explanatory name. Implementation is a little hairy. * mail-callbacks.h: Prototype it here. * mail-callbacks.c (invert_selection): Here too. (select_all): Here too. * subscribe-dialog.c (subscribe_select_all): Update to use new ETree accessors. (subscribe_invert_selection): Here too. calendar: 2001-06-27 Peter Williams <peterw@ximian.com> * conduits/*/Makefile.am (INCLUDES): More srcdir != builddir fixes. svn path=/trunk/; revision=10544
Diffstat (limited to 'mail/subscribe-dialog.c')
-rw-r--r--mail/subscribe-dialog.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c
index 0ba539c84e..117e7cbfd0 100644
--- a/mail/subscribe-dialog.c
+++ b/mail/subscribe-dialog.c
@@ -422,8 +422,10 @@ subscribe_select_all (BonoboUIComponent *uic,
{
SubscribeDialog *sc = (SubscribeDialog*)user_data;
ETreeScrolled *scrolled = E_TREE_SCROLLED (sc->folder_etree);
-
- e_tree_select_all (e_tree_scrolled_get_tree(scrolled));
+ ETree *tree = e_tree_scrolled_get_tree (scrolled);
+ ESelectionModel *esm = e_tree_get_selection_model (E_TREE (tree));
+
+ e_selection_model_select_all (E_SELECTION_MODEL (esm));
}
static void
@@ -432,8 +434,10 @@ subscribe_invert_selection (BonoboUIComponent *uic,
{
SubscribeDialog *sc = (SubscribeDialog*)user_data;
ETreeScrolled *scrolled = E_TREE_SCROLLED (sc->folder_etree);
+ ETree *tree = e_tree_scrolled_get_tree (scrolled);
+ ESelectionModel *esm = e_tree_get_selection_model (E_TREE (tree));
- e_tree_invert_selection (e_tree_scrolled_get_tree(scrolled));
+ e_selection_model_invert_selection (E_SELECTION_MODEL (esm));
}
static void