From aa223e9dec923f62d4358c831157c2d49f035539 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 6 Feb 2006 10:37:50 +0000 Subject: Committing Ozwald's and Johnny's patch. svn path=/trunk/; revision=31424 --- calendar/gui/dialogs/comp-editor.c | 2 ++ calendar/gui/dialogs/task-editor.c | 1 + 2 files changed, 3 insertions(+) (limited to 'calendar/gui') 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); } diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index 4416fabc93..4b2d344cf1 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -426,6 +426,7 @@ task_editor_construct (TaskEditor *te, ECal *client) "gtk-close", GTK_RESPONSE_CLOSE, NULL); g_signal_connect (priv->task_details_window, "response", G_CALLBACK(gtk_widget_hide), NULL); + g_signal_connect (priv->task_details_window, "delete-event", G_CALLBACK(gtk_widget_hide), NULL); priv->task_details_page = task_details_page_new (); g_object_ref (priv->task_details_page); -- cgit v1.2.3