aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-html-display.c')
-rw-r--r--mail/em-format-html-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index dcaafed57d..de165073ce 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -1208,7 +1208,7 @@ efhd_attachment_button (EMFormatHTML *efh,
/* If the button is created, then give it focus after
* it is realized, so that user can use arrow keys to scroll
* message */
- if (efhd->priv->attachment_expanded || e_attachment_button_get_expanded (E_ATTACHMENT_BUTTON (widget))) {
+ if (efhd->priv->attachment_expanded) {
g_signal_connect (
widget, "realize",
G_CALLBACK (attachment_button_realized), NULL);