diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-30 06:25:43 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-30 06:25:43 +0800 |
commit | 9892741e7efd81b7e99201530c9c5e8a56081094 (patch) | |
tree | 95ce119950119754a80043d954f3313beebde668 | |
parent | abe1e4017d5a095aa911b6736ca8ad0d50c9f1fb (diff) | |
download | gsoc2013-evolution-9892741e7efd81b7e99201530c9c5e8a56081094.tar.gz gsoc2013-evolution-9892741e7efd81b7e99201530c9c5e8a56081094.tar.zst gsoc2013-evolution-9892741e7efd81b7e99201530c9c5e8a56081094.zip |
Fix the focus check. It's not fb->message_list that has focus, it's one of
* folder-browser.c (folder_browser_copy): Fix the focus check.
It's not fb->message_list that has focus, it's one of its
children. #13616.
svn path=/trunk/; revision=14370
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/folder-browser.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 29e6c6cf56..d9c68dd216 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-10-29 Dan Winship <danw@ximian.com> + + * folder-browser.c (folder_browser_copy): Fix the focus check. + It's not fb->message_list that has focus, it's one of its + children. #13616. + 2001-10-29 <NotZed@Ximian.com> * mail-folder-cache.c (store_folder_renamed): Sort the folder diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 8e79e6467e..fcd54e528a 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -693,7 +693,7 @@ folder_browser_copy (GtkWidget *menuitem, FolderBrowser *fb) cut = menuitem == NULL; - if (!GTK_WIDGET_HAS_FOCUS (fb->message_list)) { + if (GTK_WIDGET_HAS_FOCUS (fb->mail_display->html)) { /* Copy text from the HTML Engine */ html_engine_copy (fb->mail_display->html->engine); return; |