aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-02-28 12:31:50 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-02-28 12:31:50 +0800
commite083da7520bd4cacaf1b19ff2d9483f39abe295f (patch)
tree13350baf0139af654d49e51409547cba5c076107 /mail/em-folder-browser.c
parentabd62cc80235518a05b9f4f555b9a281caa68952 (diff)
downloadgsoc2013-evolution-e083da7520bd4cacaf1b19ff2d9483f39abe295f.tar.gz
gsoc2013-evolution-e083da7520bd4cacaf1b19ff2d9483f39abe295f.tar.zst
gsoc2013-evolution-e083da7520bd4cacaf1b19ff2d9483f39abe295f.zip
reverted Mengjie's patch for 72545.
2005-02-28 Not Zed <NotZed@Ximian.com> * em-folder-browser.c: reverted Mengjie's patch for 72545. svn path=/trunk/; revision=28910
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index dd9ebf24c4..c0b9d92529 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -546,15 +546,9 @@ emfb_edit_invert_selection(BonoboUIComponent *uid, void *data, const char *path)
static void
emfb_edit_select_all(BonoboUIComponent *uid, void *data, const char *path)
{
- EMFolderBrowser *emfb = data;
+ EMFolderView *emfv = data;
- if (GTK_WIDGET_HAS_FOCUS(((ESearchBar *)emfb->search)->entry))
- gtk_editable_select_region ((GtkEditable *) (((ESearchBar *)emfb->search)->entry), 0, -1);
- else if (GTK_WIDGET_HAS_FOCUS(emfb->view.preview->formathtml.html))
- gtk_html_select_all (emfb->view.preview->formathtml.html);
- else
- message_list_select_all(emfb->view.list);
-
+ message_list_select_all(emfv->list);
}
static void