diff options
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <NotZed@Ximian.com> + + * em-folder-browser.c: reverted Mengjie's patch for 72545. + 2005-02-27 Frank Arnold <farnold@cvs.gnome.org> * 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 |