diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-25 04:09:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-25 04:09:04 +0800 |
commit | 57af36acc798853c67727da285f8a85d5f776675 (patch) | |
tree | 65d88d08b014530b9128a0d9eda5d7159cffd05e /mail | |
parent | 7c9e80dd308222afbdec1068a925e4800f13dfb5 (diff) | |
download | gsoc2013-evolution-57af36acc798853c67727da285f8a85d5f776675.tar.gz gsoc2013-evolution-57af36acc798853c67727da285f8a85d5f776675.tar.zst gsoc2013-evolution-57af36acc798853c67727da285f8a85d5f776675.zip |
If the mail-display is in focus, then select-all in the mail display
2002-01-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (select_all): If the mail-display is in focus,
then select-all in the mail display rather than the
message-list. Fixes bug #19126.
svn path=/trunk/; revision=15456
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index e290338c9b..9af22c8c31 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2002-01-24 Jeffrey Stedfast <fejj@ximian.com> + + * mail-callbacks.c (select_all): If the mail-display is in focus, + then select-all in the mail display rather than the + message-list. Fixes bug #19126. + 2002-01-23 Ettore Perazzoli <ettore@ximian.com> * component-factory.c (create_component): Pass a NULL icon to diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index e367ab4638..ded0116bbc 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1534,9 +1534,13 @@ select_all (BonoboUIComponent *uih, void *user_data, const char *path) if (FOLDER_BROWSER_IS_DESTROYED (fb)) return; - etsm = e_tree_get_selection_model (fb->message_list->tree); - - e_selection_model_select_all (etsm); + if (GTK_WIDGET_HAS_FOCUS (fb->mail_display->html)) { + gtk_html_select_all (fb->mail_display->html); + } else { + etsm = e_tree_get_selection_model (fb->message_list->tree); + + e_selection_model_select_all (etsm); + } } /* Thread selection */ |