aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index fa23b7b78a..15975b50fa 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -956,10 +956,12 @@ attachment_bar_changed_cb (EAttachmentBar *bar,
g_free (num_text);
gtk_widget_show (editor->priv->attachment_expander_icon);
+ e_expander_set_expanded(E_EXPANDER(editor->priv->attachment_expander),TRUE);
} else {
gtk_label_set_text (GTK_LABEL (editor->priv->attachment_expander_num), "");
gtk_widget_hide (editor->priv->attachment_expander_icon);
+ e_expander_set_expanded(E_EXPANDER(editor->priv->attachment_expander),FALSE);
}