aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-05 06:41:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-05 06:41:05 +0800
commit9ec39960ad691d001ca33d65d9dbb2f31bf70cb9 (patch)
tree0b419b16db386ed6395bf0602e7297cab5416edc /mail/mail-callbacks.c
parentaf89b251904fa5abe2a046ebab62042ab9ce7ed9 (diff)
downloadgsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.tar
gsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.tar.gz
gsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.tar.bz2
gsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.tar.lz
gsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.tar.xz
gsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.tar.zst
gsoc2013-evolution-9ec39960ad691d001ca33d65d9dbb2f31bf70cb9.zip
Instead of UnSelectAll, we want InvertSelection.
2000-10-04 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Instead of UnSelectAll, we want InvertSelection. * mail-callbacks.c (select_all): Finished this function. (invert_selection): Finished. (was unselect_all - but that's not what we really wanted as it'd be pointless. invert_selection is a much more useful callback :-) svn path=/trunk/; revision=5725
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 1cbc1bc5a7..588c1e087a 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -540,26 +540,27 @@ select_all (BonoboUIHandler *uih, void *user_data, const char *path)
{
FolderBrowser *fb = FOLDER_BROWSER (user_data);
MessageList *ml = fb->message_list;
+ ETableScrolled *scrolled;
if (ml->folder == NULL)
return;
- message_list_select (ml, -1, MESSAGE_LIST_SELECT_NEXT, 0, 0);
- /* FIXME: when clahey codes select all for e-table, finish this */
- /* e_table_select_all (); */
+ scrolled = E_TABLE_SCROLLED (ml->etable);
+ e_table_select_all (scrolled->table);
}
void
-unselect_all (BonoboUIHandler *uih, void *user_data, const char *path)
+invert_selection (BonoboUIHandler *uih, void *user_data, const char *path)
{
FolderBrowser *fb = FOLDER_BROWSER (user_data);
MessageList *ml = fb->message_list;
+ ETableScrolled *scrolled;
if (ml->folder == NULL)
return;
- /* FIXME: when clahey codes select all for e-table, finish this */
- /* e_table_unselect_all (); */
+ scrolled = E_TABLE_SCROLLED (ml->etable);
+ e_table_invert_selection (scrolled->table);
}
void