From e083da7520bd4cacaf1b19ff2d9483f39abe295f Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 28 Feb 2005 04:31:50 +0000 Subject: reverted Mengjie's patch for 72545. 2005-02-28 Not Zed * em-folder-browser.c: reverted Mengjie's patch for 72545. svn path=/trunk/; revision=28910 --- mail/ChangeLog | 4 ++++ mail/em-folder-browser.c | 10 ++-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 72f4424264..adad67a999 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,7 @@ +2005-02-28 Not Zed + + * em-folder-browser.c: reverted Mengjie's patch for 72545. + 2005-02-27 Frank Arnold * default/de/Inbox: Added German translation of default inbox. 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 -- cgit