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/ChangeLog | 15 +++++++++++++++ calendar/gui/dialogs/comp-editor.c | 2 ++ calendar/gui/dialogs/task-editor.c | 1 + 3 files changed, 18 insertions(+) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index da10963779..55235c5e87 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,18 @@ +2006-01-31 Oswald Rodrigues + + ** Fixes #328515 + + * gui/dialogs/comp-editor.c (attachment_bar_changed_cb):Changed Attachment + bar behaivour to expand when attachment is present and collapse when no + attachment is present. + +2006-02-03 Johnny Jacob + + ** Fixes bug #329775 + + * gui/dialogs/task-editor.c (task_editor_construct): Handle + delete-event signal for task_details_window. + 2006-02-05 Karsten Bräckelmann * gui/dialogs/event-page.glade: Correct typo, fixes bug #329748. 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