aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-02-06 18:37:50 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-02-06 18:37:50 +0800
commitaa223e9dec923f62d4358c831157c2d49f035539 (patch)
tree80b626e90f83a0fff130b2ab682d3240d68c8c1c /calendar/gui
parentdf4c3e5573d807c839133698aed6657f9dd3781a (diff)
downloadgsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.tar
gsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.tar.gz
gsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.tar.bz2
gsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.tar.lz
gsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.tar.xz
gsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.tar.zst
gsoc2013-evolution-aa223e9dec923f62d4358c831157c2d49f035539.zip
Committing Ozwald's and Johnny's patch.
svn path=/trunk/; revision=31424
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/comp-editor.c2
-rw-r--r--calendar/gui/dialogs/task-editor.c1
2 files changed, 3 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);
}
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);